@typed/lambda
Advanced tools
Comparing version 3.3.1 to 3.4.0
@@ -9,3 +9,5 @@ export declare type Primitive = undefined | null | boolean | string | number | Function; | ||
export declare type Predicate<A> = Arity1<A, boolean>; | ||
export declare type Is<A> = (value: any) => value is A; | ||
export declare type Is<A> = (value: unknown) => value is A; | ||
export declare type IsNot<A> = <B extends unknown>(value: A | B) => value is B; | ||
export declare type Refinement<A, B extends A> = (a: A) => a is B; | ||
export declare type Predicate2<A, B> = Arity2<A, B, boolean>; | ||
@@ -12,0 +14,0 @@ export declare type ComparisonNumbers = -1 | 0 | 1; |
@@ -9,3 +9,5 @@ export declare type Primitive = undefined | null | boolean | string | number | Function; | ||
export declare type Predicate<A> = Arity1<A, boolean>; | ||
export declare type Is<A> = (value: any) => value is A; | ||
export declare type Is<A> = (value: unknown) => value is A; | ||
export declare type IsNot<A> = <B extends unknown>(value: A | B) => value is B; | ||
export declare type Refinement<A, B extends A> = (a: A) => a is B; | ||
export declare type Predicate2<A, B> = Arity2<A, B, boolean>; | ||
@@ -12,0 +14,0 @@ export declare type ComparisonNumbers = -1 | 0 | 1; |
{ | ||
"name": "@typed/lambda", | ||
"version": "3.3.1", | ||
"version": "3.4.0", | ||
"description": "Helpful functions for working in a functional style", | ||
@@ -29,3 +29,3 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"@typed/common": "^3.4.1" | ||
"@typed/common": "^3.5.0" | ||
}, | ||
@@ -39,4 +39,4 @@ "publishConfig": { | ||
"sideEffects": false, | ||
"gitHead": "663d642bd1facd22b30294bb3cc679dd3b2f7ad0", | ||
"gitHead": "68900a6301af037d953f3111a3c87c1141d44738", | ||
"unpkg": "./umd/index.js" | ||
} |
@@ -17,3 +17,5 @@ export type Primitive = undefined | null | boolean | string | number | Function | ||
export type Predicate<A> = Arity1<A, boolean> | ||
export type Is<A> = (value: any) => value is A | ||
export type Is<A> = (value: unknown) => value is A | ||
export type IsNot<A> = <B extends unknown>(value: A | B) => value is B | ||
export type Refinement<A, B extends A> = (a: A) => a is B | ||
export type Predicate2<A, B> = Arity2<A, B, boolean> | ||
@@ -20,0 +22,0 @@ export type ComparisonNumbers = -1 | 0 | 1 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
380435
1302
Updated@typed/common@^3.5.0