faked-promise
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -1,3 +0,3 @@ | ||
declare function fakePromise<T = any>(): [Promise<T>, (resolvedValue: T) => void, (error?: Error) => void] | ||
declare function fakePromise<T = undefined>(): T extends undefined ? [Promise<undefined>, () => void, (error?: Error) => void] : [Promise<T>, (resolvedValue: T) => void, (error?: Error) => void] | ||
export default fakePromise |
{ | ||
"name": "faked-promise", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Create a promise that can be resolved and rejected outside of it", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4271