fp-toolkit
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -39,3 +39,5 @@ /** | ||
/** Represents a "lazy" or "cold" `Promise`. (See module-level documentation for more.) */ | ||
export type Async<A> = () => Promise<A>; | ||
export interface Async<A> { | ||
(): Promise<A>; | ||
} | ||
/** | ||
@@ -42,0 +44,0 @@ * Constructs an Async from a raw value. Primarily useful for |
@@ -21,3 +21,5 @@ /** | ||
*/ | ||
export type AsyncResult<A, E> = () => Promise<Result<A, E>>; | ||
export interface AsyncResult<A, E> { | ||
(): Promise<Result<A, E>>; | ||
} | ||
/** | ||
@@ -24,0 +26,0 @@ * Construct a new `Ok` instance. |
@@ -22,3 +22,3 @@ { | ||
], | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"type": "module", | ||
@@ -25,0 +25,0 @@ "main": "./dist/fp-toolkit.cjs", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
209351
4629
0