diff --git a/src/prelude/types.ts b/src/prelude/types.ts index d004d0ff31..b8c49f9292 100644 --- a/src/prelude/types.ts +++ b/src/prelude/types.ts @@ -1 +1 @@ -export type Resolved
> = P extends Promise ? R : never; +export type Resolved = P extends PromiseLike ? Resolved : never;
= P extends PromiseLike ? Resolved : never;