Comparing version 1.5.1 to 1.5.2
@@ -17,2 +17,7 @@ # Changelog | ||
# 1.5.2 | ||
- **Deprecation** | ||
- deprecate `Compact` type (@gcanti) | ||
# 1.5.1 | ||
@@ -19,0 +24,0 @@ |
@@ -473,2 +473,3 @@ import { Either } from 'fp-ts/lib/Either'; | ||
* @since 1.4.2 | ||
* @deprecated | ||
*/ | ||
@@ -481,6 +482,6 @@ export declare type Compact<A> = { | ||
*/ | ||
export declare function intersection<A extends Mixed, B extends Mixed, C extends Mixed, D extends Mixed, E extends Mixed>(types: [A, B, C, D, E], name?: string): IntersectionType<[A, B, C, D, E], Compact<TypeOf<A> & TypeOf<B> & TypeOf<C> & TypeOf<D> & TypeOf<E>>, Compact<OutputOf<A> & OutputOf<B> & OutputOf<C> & OutputOf<D> & OutputOf<E>>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed, C extends Mixed, D extends Mixed>(types: [A, B, C, D], name?: string): IntersectionType<[A, B, C, D], Compact<TypeOf<A> & TypeOf<B> & TypeOf<C> & TypeOf<D>>, Compact<OutputOf<A> & OutputOf<B> & OutputOf<C> & OutputOf<D>>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed, C extends Mixed>(types: [A, B, C], name?: string): IntersectionType<[A, B, C], Compact<TypeOf<A> & TypeOf<B> & TypeOf<C>>, Compact<OutputOf<A> & OutputOf<B> & OutputOf<C>>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed>(types: [A, B], name?: string): IntersectionType<[A, B], Compact<TypeOf<A> & TypeOf<B>>, Compact<OutputOf<A> & OutputOf<B>>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed, C extends Mixed, D extends Mixed, E extends Mixed>(types: [A, B, C, D, E], name?: string): IntersectionType<[A, B, C, D, E], TypeOf<A> & TypeOf<B> & TypeOf<C> & TypeOf<D> & TypeOf<E>, OutputOf<A> & OutputOf<B> & OutputOf<C> & OutputOf<D> & OutputOf<E>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed, C extends Mixed, D extends Mixed>(types: [A, B, C, D], name?: string): IntersectionType<[A, B, C, D], TypeOf<A> & TypeOf<B> & TypeOf<C> & TypeOf<D>, OutputOf<A> & OutputOf<B> & OutputOf<C> & OutputOf<D>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed, C extends Mixed>(types: [A, B, C], name?: string): IntersectionType<[A, B, C], TypeOf<A> & TypeOf<B> & TypeOf<C>, OutputOf<A> & OutputOf<B> & OutputOf<C>, mixed>; | ||
export declare function intersection<A extends Mixed, B extends Mixed>(types: [A, B], name?: string): IntersectionType<[A, B], TypeOf<A> & TypeOf<B>, OutputOf<A> & OutputOf<B>, mixed>; | ||
export declare function intersection<A extends Mixed>(types: [A], name?: string): IntersectionType<[A], TypeOf<A>, OutputOf<A>, mixed>; | ||
@@ -487,0 +488,0 @@ /** |
{ | ||
"name": "io-ts", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "TypeScript compatible runtime type system for IO validation", | ||
@@ -40,3 +40,3 @@ "files": [ | ||
"benchmark": "2.1.4", | ||
"dtslint": "0.3.0", | ||
"dtslint": "^0.4.2", | ||
"jest": "^23.6.0", | ||
@@ -43,0 +43,0 @@ "prettier": "1.13.4", |
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
91407