Comparing version 1.5.0 to 1.5.1
@@ -17,2 +17,7 @@ # Changelog | ||
# 1.5.1 | ||
- **Polish** | ||
- remove useless module augmentation of `Array` (@gcanti) | ||
# 1.5.0 | ||
@@ -19,0 +24,0 @@ |
import { Either } from 'fp-ts/lib/Either'; | ||
import { Predicate } from 'fp-ts/lib/function'; | ||
declare global { | ||
interface Array<T> { | ||
_A: T; | ||
} | ||
} | ||
/** | ||
@@ -466,3 +461,3 @@ * @since 1.0.0 | ||
*/ | ||
export declare const union: <RTS extends Mixed[]>(types: RTS, name?: string) => UnionType<RTS, RTS["_A"]["_A"], RTS["_A"]["_O"], unknown>; | ||
export declare const union: <RTS extends Mixed[]>(types: RTS, name?: string) => UnionType<RTS, RTS[number]["_A"], RTS[number]["_O"], unknown>; | ||
/** | ||
@@ -597,3 +592,3 @@ * @since 1.0.0 | ||
*/ | ||
export declare const taggedUnion: <Tag extends string, RTS extends Tagged<Tag, any, any>[]>(tag: Tag, types: RTS, name?: string) => TaggedUnionType<Tag, RTS, RTS["_A"]["_A"], RTS["_A"]["_O"], unknown>; | ||
export declare const taggedUnion: <Tag extends string, RTS extends Tagged<Tag, any, any>[]>(tag: Tag, types: RTS, name?: string) => TaggedUnionType<Tag, RTS, RTS[number]["_A"], RTS[number]["_O"], unknown>; | ||
/** | ||
@@ -600,0 +595,0 @@ * @since 1.1.0 |
{ | ||
"name": "io-ts", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "TypeScript compatible runtime type system for IO validation", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
91396
1921