io-ts
Advanced tools
Comparing version 1.10.2 to 1.10.3
@@ -17,2 +17,7 @@ # Changelog | ||
# 1.10.3 | ||
- **Bug Fix** | ||
- revert `1.10.0` compatibility, fix #344 (@gcanti) | ||
# 1.10.2 | ||
@@ -19,0 +24,0 @@ |
@@ -372,3 +372,3 @@ import { Either } from 'fp-ts/lib/Either'; | ||
*/ | ||
export declare const literal: <V extends LiteralValue>(value: V, name?: string) => LiteralC<V>; | ||
export declare const literal: <V extends string | number | boolean>(value: V, name?: string) => LiteralC<V>; | ||
/** | ||
@@ -375,0 +375,0 @@ * @since 1.0.0 |
@@ -372,3 +372,3 @@ import { Either } from 'fp-ts/lib/Either'; | ||
*/ | ||
export declare const literal: <V extends LiteralValue>(value: V, name?: string) => LiteralC<V>; | ||
export declare const literal: <V extends string | number | boolean>(value: V, name?: string) => LiteralC<V>; | ||
/** | ||
@@ -375,0 +375,0 @@ * @since 1.0.0 |
{ | ||
"name": "io-ts", | ||
"version": "1.10.2", | ||
"version": "1.10.3", | ||
"description": "TypeScript compatible runtime type system for IO validation", | ||
@@ -40,3 +40,3 @@ "files": [ | ||
"dependencies": { | ||
"fp-ts": "^1.0.0 || ^2.0.0-rc.6" | ||
"fp-ts": "^1.0.0" | ||
}, | ||
@@ -48,15 +48,14 @@ "devDependencies": { | ||
"benchmark": "2.1.4", | ||
"docs-ts": "0.0.3", | ||
"docs-ts": "^0.1.0", | ||
"doctoc": "^1.4.0", | ||
"dtslint": "github:gcanti/dtslint", | ||
"fp-ts": "^2.0.0-rc.6", | ||
"jest": "^23.6.0", | ||
"jest": "^24.8.0", | ||
"mocha": "^5.2.0", | ||
"prettier": "^1.15.3", | ||
"rimraf": "2.6.2", | ||
"ts-jest": "^23.10.4", | ||
"ts-jest": "^24.0.2", | ||
"ts-node": "^7.0.1", | ||
"tslint": "^5.11.0", | ||
"tslint-config-standard": "^8.0.1", | ||
"typescript": "^3.4.1" | ||
"typescript": "^3.5.2" | ||
}, | ||
@@ -63,0 +62,0 @@ "tags": [ |
@@ -112,3 +112,3 @@ [![build status](https://img.shields.io/travis/gcanti/io-ts/master.svg?style=flat-square)](https://travis-ci.org/gcanti/io-ts) | ||
The stable version is tested against TypeScript 3.2.4. | ||
The stable version is tested against TypeScript 3.5.2 | ||
@@ -115,0 +115,0 @@ | io-ts version | required TypeScript version | |
180090
16
+ Addedfp-ts@1.19.5(transitive)
- Removedfp-ts@2.16.7(transitive)
Updatedfp-ts@^1.0.0