add prelude/types.ts
This commit is contained in:
parent
a7f5ad78b4
commit
beac5d2fb7
|
@ -0,0 +1 @@
|
|||
export type Resolved<P> = P extends PromiseLike<infer R> ? Resolved<R> : never;
|
Loading…
Reference in New Issue