await-to-js
Advanced tools
Comparing version 2.1.1 to 3.0.0
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export declare function to<T, U = Error>(promise: Promise<T>, errorExt?: object): Promise<[U | null, T | undefined]>; | ||
export declare function to<T, U = Error>(promise: Promise<T>, errorExt?: object): Promise<[U, undefined] | [null, T]>; | ||
export default to; |
{ | ||
"name": "await-to-js", | ||
"version": "2.1.1", | ||
"version": "3.0.0", | ||
"description": "Async/await wrapper for easy error handling in js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
1158633