UNPKG

typescript-miscellaneous

Version:
2 lines (1 loc) 121 B
export declare type PromiseValue<Type extends PromiseLike<any>> = Type extends PromiseLike<infer Value> ? Value : never;