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