diff options
Diffstat (limited to 'std/node/events.ts')
-rw-r--r-- | std/node/events.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/events.ts b/std/node/events.ts index fee715f0c..8d6e90abd 100644 --- a/std/node/events.ts +++ b/std/node/events.ts @@ -226,7 +226,8 @@ export default class EventEmitter { rawListener: Function; context: EventEmitter; }, - ...args: any[] // eslint-disable-line @typescript-eslint/no-explicit-any + // eslint-disable-next-line @typescript-eslint/no-explicit-any + ...args: any[] ): void { this.context.removeListener(this.eventName, this.rawListener); this.listener.apply(this.context, args); @@ -434,7 +435,6 @@ export function on( const unconsumedEventValues: any[] = []; // eslint-disable-next-line @typescript-eslint/no-explicit-any const unconsumedPromises: any[] = []; - // eslint-disable-next-line @typescript-eslint/no-explicit-any let error: Error | null = null; let finished = false; |