[no-unused-var] False positive for imported interfaces used in declare global #1302
Labels
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
triage
Waiting for maintainers to take a look
Repro
Expected Result
File does not yield any warnings.
Actual Result
ESLint warning on the import line:
Additional Info
When I remove the
declare global
and insteadexport namespace
is the top-most declaration, the warning goes away.Versions
@typescript-eslint/eslint-plugin
2.6.0
@typescript-eslint/parser
2.6.0
TypeScript
3.6.2
ESLint
6..6.0
node
10.15.3
npm
6.4.1
The text was updated successfully, but these errors were encountered: