Merge branch 'stream-types' of https://github.com/tamaina/misskey into stream-types
This commit is contained in:
commit
8195be9371
|
@ -1 +1 @@
|
|||
export type Resolved<P extends Promise<any>> = P extends Promise<infer R> ? R : never;
|
||||
export type Resolved<P> = P extends PromiseLike<infer R> ? Resolved<R> : never;
|
||||
|
|
Loading…
Reference in New Issue