Skip to content

Commit

Permalink
Updates from editor
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Sep 17, 2024
1 parent 5353c25 commit afd11b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/polyfills/event-listener-signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ try {
)
window.addEventListener('test', noop, options)
window.removeEventListener('test', noop, options)
} catch (e) { /* @ts-ignore */
/* @ts-ignore */

Check failure on line 27 in src/polyfills/event-listener-signal.ts

View workflow job for this annotation

GitHub Actions / lint

Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free

Check failure on line 27 in src/polyfills/event-listener-signal.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `··`
} catch (e) {

Check failure on line 28 in src/polyfills/event-listener-signal.ts

View workflow job for this annotation

GitHub Actions / lint

'e' is defined but never used
/* */
}
function featureSupported(): boolean {
Expand Down

0 comments on commit afd11b8

Please sign in to comment.