@applitools/utils
Advanced tools
Comparing version 1.3.21 to 1.3.22
@@ -25,3 +25,2 @@ "use strict"; | ||
result !== null && result !== void 0 ? result : (result = { status: 'fulfilled', value }); | ||
return Promise.resolve(value); | ||
}, | ||
@@ -33,3 +32,2 @@ reject(reason) { | ||
result !== null && result !== void 0 ? result : (result = { status: 'rejected', reason }); | ||
return Promise.reject(reason); | ||
}, | ||
@@ -36,0 +34,0 @@ }; |
{ | ||
"name": "@applitools/utils", | ||
"version": "1.3.21", | ||
"version": "1.3.22", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "applitools", |
export declare function makeControlledPromise<T = void>(): PromiseLike<T> & { | ||
resolve(value: T): Promise<T>; | ||
reject(reason?: any): Promise<never>; | ||
resolve(value: T): void; | ||
reject(reason?: any): void; | ||
}; |
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
68138
1201