This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
What's the recommended way to work around "is not defined" for type definitions? #466
Closed
Description
Hello, how can I work around the error
✘ http://eslint.org/docs/rules/no-undef 'NodeListOf' is not defined
src/util.ts:10:60
const links = document.querySelectorAll( selector ) as NodeListOf<HTMLElement>
? Do I have to use a comment to tell eslint to ignore that error on that line? Is there any other better workaround?