From 0800b1ae1e5083f401b4427c1c9aa71843f89373 Mon Sep 17 00:00:00 2001 From: tsctx <91457664+tsctx@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:51:49 +0000 Subject: [PATCH] fixup type --- types/webidl.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/webidl.d.ts b/types/webidl.d.ts index 7c87394d95f..6f9f2d13b1b 100644 --- a/types/webidl.d.ts +++ b/types/webidl.d.ts @@ -84,7 +84,7 @@ interface WebidlUtil { */ Stringify (V: any): string - MakeTypeAssertion any>(I: I): (arg: any) => arg is InstanceType + MakeTypeAssertion (I: I): (arg: any) => arg is I } interface WebidlConverters { @@ -176,7 +176,7 @@ interface WebidlConverters { [Key: string]: (...args: any[]) => unknown } -type IsAssertion any> = (arg: any) => arg is InstanceType +type IsAssertion = (arg: any) => arg is InstanceType interface WebidlIs { Request: IsAssertion