add prelude/types.ts

This commit is contained in:
tamaina 2021-09-12 01:02:56 +09:00
parent a7f5ad78b4
commit beac5d2fb7
1 changed files with 1 additions and 0 deletions

1
src/prelude/types.ts Normal file
View File

@ -0,0 +1 @@
export type Resolved<P> = P extends PromiseLike<infer R> ? Resolved<R> : never;