Merge branch 'stream-types' of https://github.com/tamaina/misskey into stream-types

This commit is contained in:
tamaina 2021-09-07 09:33:49 +09:00
commit 8195be9371

View file

@ -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;