Attempting to reason with whatever eslint GitHub is using.

This commit is contained in:
Ken Sternberg 2024-01-08 15:00:45 -08:00
parent fdca6427b3
commit df0784b8a8
1 changed files with 1 additions and 1 deletions

View File

@ -9,9 +9,9 @@ export const isCustomEvent = (v: any): v is CustomEvent =>
export function CustomEmitterElement<T extends Constructor<LitElement>>(superclass: T) { export function CustomEmitterElement<T extends Constructor<LitElement>>(superclass: T) {
return class EmmiterElementHandler extends superclass { return class EmmiterElementHandler extends superclass {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
dispatchCustomEvent<F extends CustomEvent>( dispatchCustomEvent<F extends CustomEvent>(
eventName: string, eventName: string,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
detail: any = {}, detail: any = {},
options = {}, options = {},
) { ) {