await-to-js
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export declare function to<T, U = Error>(promise: any, errorExt?: object): Promise<[U, T]>; | ||
export declare function to<T, U = Error>(promise: Promise<T>, errorExt?: object): Promise<[U | null, T | undefined]>; | ||
export default to; |
{ | ||
"name": "await-to-js", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"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
1158460