Comparing version 1.1.3 to 1.1.4
@@ -16,2 +16,7 @@ # Changelog | ||
# 1.1.4 | ||
* **Internal** | ||
* fix broken build with `typescript@2.9.1`, closes #174 (@gcanti) | ||
# 1.1.3 | ||
@@ -18,0 +23,0 @@ |
import { Either } from 'fp-ts/lib/Either'; | ||
import { Predicate } from 'fp-ts/lib/function'; | ||
declare global { | ||
declare global { | ||
interface Array<T> { | ||
@@ -8,3 +8,5 @@ _A: T; | ||
} | ||
export declare type mixed = object | number | string | boolean | symbol | undefined | null; | ||
export declare type mixed = { | ||
[key: string]: any; | ||
} | object | number | string | boolean | symbol | undefined | null; | ||
export interface ContextEntry { | ||
@@ -51,10 +53,10 @@ readonly key: string; | ||
constructor( | ||
/** a unique name for this runtime type */ | ||
name: string, | ||
/** a custom type guard */ | ||
is: Is<A>, | ||
/** succeeds if a value of type I can be decoded to a value of type A */ | ||
validate: Validate<I, A>, | ||
/** converts a value of type A to a value of type O */ | ||
encode: Encode<A, O>); | ||
/** a unique name for this runtime type */ | ||
name: string, | ||
/** a custom type guard */ | ||
is: Is<A>, | ||
/** succeeds if a value of type I can be decoded to a value of type A */ | ||
validate: Validate<I, A>, | ||
/** converts a value of type A to a value of type O */ | ||
encode: Encode<A, O>); | ||
pipe<B>(ab: Type<B, A, A>, name?: string): Type<B, O, I>; | ||
@@ -61,0 +63,0 @@ asDecoder(): Decoder<I, A>; |
{ | ||
"name": "io-ts", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "TypeScript compatible runtime type system for IO validation", | ||
@@ -46,3 +46,3 @@ "files": ["lib"], | ||
"tslint-config-standard": "7.0.0", | ||
"typescript": "2.8.3", | ||
"typescript": "2.9.1", | ||
"typings-checker": "2.0.0" | ||
@@ -49,0 +49,0 @@ }, |
@@ -80,3 +80,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 2.8.x | ||
The stable version is tested against TypeScript 2.9.x | ||
@@ -83,0 +83,0 @@ # Error reporters |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113434
1298