Attempting to reason with whatever eslint GitHub is using.
This commit is contained in:
parent
fdca6427b3
commit
df0784b8a8
|
@ -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 = {},
|
||||||
) {
|
) {
|
||||||
|
|
Reference in New Issue