resolvable-promise
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -7,5 +7,4 @@ type Executor<T> = (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void; | ||
resolve(value: T): Promise<T>; | ||
resolve(): Promise<void>; | ||
reject(reason?: any): Promise<T>; | ||
resolve(value?: T): void; | ||
reject(reason?: any): void; | ||
@@ -12,0 +11,0 @@ } |
{ | ||
"name": "resolvable-promise", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Promises with the resolve and reject functions exposed", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,2 +11,9 @@ # resolvable-promise | ||
### Installation | ||
``` | ||
npm install resolvable-promise | ||
``` | ||
# | ||
### Basic Usage | ||
@@ -13,0 +20,0 @@ |
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
2539
52
26