When viewing a manually created .d.ts file, noUnusedVariables erroneously triggers.
For reference, this is setting up an environment that's outside the normal browser environment (Adobe Acrobat), so the default typescript lib files don't apply in a lot of cases.
Environment information
What happened?
When viewing a manually created
.d.ts
file,noUnusedVariables
erroneously triggers.For reference, this is setting up an environment that's outside the normal browser environment (Adobe Acrobat), so the default typescript lib files don't apply in a lot of cases.
Playground Link (Note: there's no declaration file option in the playground)
Expected result
It should not flag these declarations as unused.
Code of Conduct