pull/10320/head
S. Elliott Johnson 6 months ago
parent 3f9a246144
commit 4c8431328e

@ -214,8 +214,8 @@ export interface EventDispatcher<EventMap extends Record<string, any>> {
...args: null extends EventMap[Type] ...args: null extends EventMap[Type]
? [type: Type, parameter?: EventMap[Type] | null | undefined, options?: DispatchOptions] ? [type: Type, parameter?: EventMap[Type] | null | undefined, options?: DispatchOptions]
: undefined extends EventMap[Type] : undefined extends EventMap[Type]
? [type: Type, parameter?: EventMap[Type] | null | undefined, options?: DispatchOptions] ? [type: Type, parameter?: EventMap[Type] | null | undefined, options?: DispatchOptions]
: [type: Type, parameter: EventMap[Type], options?: DispatchOptions] : [type: Type, parameter: EventMap[Type], options?: DispatchOptions]
): boolean; ): boolean;
} }

Loading…
Cancel
Save