Comparing version 1.3.2 to 1.3.3
@@ -16,2 +16,7 @@ # Changelog | ||
# 1.3.3 | ||
- **Bug Fix** | ||
- align `TaggedExact` definition with siblings, fix #223 (@gcanti) | ||
# 1.3.2 | ||
@@ -18,0 +23,0 @@ |
@@ -282,5 +282,5 @@ import { Either } from 'fp-ts/lib/Either'; | ||
} | ||
export interface TaggedExact<Tag extends string> extends ExactType<Tagged<Tag>> { | ||
export interface TaggedExact<Tag extends string, A, O = A> extends ExactType<Tagged<Tag>, A, O> { | ||
} | ||
export declare type Tagged<Tag extends string, A = any, O = A> = InterfaceType<TaggedProps<Tag>, A, O> | StrictType<TaggedProps<Tag>, A, O> | TaggedRefinement<Tag, A, O> | TaggedUnion<Tag, A, O> | TaggedIntersection<Tag, A, O> | TaggedExact<Tag> | RecursiveType<any, A, O>; | ||
export declare type Tagged<Tag extends string, A = any, O = A> = InterfaceType<TaggedProps<Tag>, A, O> | StrictType<TaggedProps<Tag>, A, O> | TaggedRefinement<Tag, A, O> | TaggedUnion<Tag, A, O> | TaggedIntersection<Tag, A, O> | TaggedExact<Tag, A, O> | RecursiveType<any, A, O>; | ||
export declare const isTagged: <Tag extends string>(tag: Tag) => (type: Mixed) => type is Tagged<Tag, any, any>; | ||
@@ -287,0 +287,0 @@ export declare const getTagValue: <Tag extends string>(tag: Tag) => (type: Tagged<Tag, any, any>) => string | number | boolean; |
{ | ||
"name": "io-ts", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"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
83975