diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-10 04:30:38 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-09 12:30:38 -0500 |
commit | 034e2cc02829c9244b32232074c7a48af827a2fb (patch) | |
tree | bade01606a1ee076c1f753ce99c97ddb1e4edf30 /js/event_target.ts | |
parent | 8c7a12d1b258f0ef5ab27f49c424331d43e8d97f (diff) |
Migrate from tslint to eslint for linting (#1905)
Diffstat (limited to 'js/event_target.ts')
-rw-r--r-- | js/event_target.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/event_target.ts b/js/event_target.ts index 112ad1705..98b7bbcb8 100644 --- a/js/event_target.ts +++ b/js/event_target.ts @@ -12,7 +12,7 @@ export class EventTarget implements domTypes.EventTarget { public addEventListener( type: string, listener: domTypes.EventListenerOrEventListenerObject | null, - options?: boolean | domTypes.AddEventListenerOptions + _options?: boolean | domTypes.AddEventListenerOptions ): void { if (!(type in this.listeners)) { this.listeners[type] = []; @@ -25,7 +25,7 @@ export class EventTarget implements domTypes.EventTarget { public removeEventListener( type: string, callback: domTypes.EventListenerOrEventListenerObject | null, - options?: domTypes.EventListenerOptions | boolean + _options?: domTypes.EventListenerOptions | boolean ): void { if (type in this.listeners && callback !== null) { this.listeners[type] = this.listeners[type].filter( |