@waiting/shared-types
Advanced tools
Comparing version 15.1.0 to 15.1.1
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 15.0.0 | ||
* @version 15.1.0 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -34,4 +34,6 @@ /** Value of key-value pairs object */ | ||
* Pick type T from Promise<T> | ||
* @deprecated use native since TypeScript 4.5 | ||
* @link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html#the-awaited-type-and-promise-improvements | ||
* @link https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/#recursive-conditional-types | ||
*/ | ||
export declare type Awaited<T> = T extends PromiseLike<infer U> ? Awaited<U> : T; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "15.1.0", | ||
"version": "15.1.1", | ||
"description": "shared typescript types", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"cross-env": "7", | ||
"typescript": ">=4.5.0" | ||
"typescript": "^4.5.5" | ||
}, | ||
@@ -62,3 +62,3 @@ "engines": { | ||
}, | ||
"gitHead": "34ea21ef15b0af017840c8f00ff578bbf1c1a133" | ||
"gitHead": "7aa8687703c141082ac98c71debb7b082fc99043" | ||
} |
22396
611