mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
add prelude/types.ts
This commit is contained in:
parent
a7f5ad78b4
commit
beac5d2fb7
1 changed files with 1 additions and 0 deletions
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 a new issue