From afb7d5d56b4c88e03164c0e17c61ac592e44fa48 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 7 Sep 2021 09:32:33 +0900 Subject: [PATCH] Update src/prelude/types.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Acid Chicken (硫酸鶏) --- src/prelude/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;