From fc4e832798126d944f796f7435bb37d8651ae46d Mon Sep 17 00:00:00 2001 From: Khafra Date: Sun, 6 Oct 2024 20:22:57 -0400 Subject: [PATCH] fix types --- 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 f66ee272b3a..ac73af521d7 100644 --- a/types/webidl.d.ts +++ b/types/webidl.d.ts @@ -84,7 +84,7 @@ interface WebidlUtil { */ Stringify (V: any): string - MakeTypeAssertion any>(Prototype: T['prototype']): (arg: any) => arg is T + MakeTypeAssertion (Prototype: T['prototype']): (arg: any) => arg is T } interface WebidlConverters { @@ -231,7 +231,7 @@ export interface Webidl { V: unknown, prefix: string, argument: string - ) => asserts V is typeof cls + ) => asserts V is Interface // TODO(@KhafraDev): a type could likely be implemented that can infer the return type // from the converters given?