extra-utils
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -0,1 +1,6 @@ | ||
export declare function pipe<T, U, V>(value: T, ...operators: [ | ||
(value: T) => U, | ||
...Array<(value: U) => U>, | ||
(value: U) => V | ||
]): V; | ||
export declare function pipe<T, U>(value: T, ...operators: [ | ||
@@ -2,0 +7,0 @@ ...Array<(value: T) => T>, |
{ | ||
"name": "extra-utils", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Utilities for JavaScript and Typescript", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -14,2 +14,10 @@ # extra-utils | ||
```ts | ||
function pipe<T, U, V>( | ||
value: T | ||
, ...operators: [ | ||
(value: T) => U | ||
, ...Array<(value: U) => U> | ||
, (value: U) => V | ||
] | ||
): V | ||
function pipe<T, U>( | ||
@@ -16,0 +24,0 @@ value: T |
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
26275
361
146