@transcend-io/type-utils
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -144,8 +144,2 @@ /** | ||
/** | ||
* Infer the type wrapped by a Promise. | ||
* | ||
* TODO: https://transcend.height.app/T-15646 - Remove once on TypeScript 4.5. | ||
*/ | ||
export type Awaited<T> = T extends PromiseLike<infer U> ? U : T; | ||
/** | ||
* Utility type that passes through the interface given that its keys are exactly equal to the keys string union | ||
@@ -152,0 +146,0 @@ */ |
@@ -5,3 +5,3 @@ { | ||
"description": "Small package containing useful typescript utilities.", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"homepage": "https://github.com/transcend-io/type-utils", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
139370
1534