You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
$ ./node_modules/.bin/tslint --project tsconfig.json -t stylish -c tslint.json --type-check src/index.tsx
no-unused-variable is deprecated. Use the tsc compiler options --noUnusedParameters and --noUnusedLocals instead.
C:\Alcidion\Miya\Web\MiyaED\node_modules\tslint\lib\runner.js:117
throw error;
^
Error: Debug Failure. False expression:
at Object.assert (C:\Alcidion\Miya\Web\MiyaED\node_modules\typescript\lib\typescript.js:3238:23)
at getDefaultImportName (C:\Alcidion\Miya\Web\MiyaED\node_modules\typescript\lib\typescript.js:70705:26)
at Object.getReferencedSymbolsForNode (C:\Alcidion\Miya\Web\MiyaED\node_modules\typescript\lib\typescript.js:70634:51)
at getSemanticDocumentHighlights (C:\Alcidion\Miya\Web\MiyaED\node_modules\typescript\lib\typescript.js:69952:58)
at Object.getDocumentHighlights (C:\Alcidion\Miya\Web\MiyaED\node_modules\typescript\lib\typescript.js:69939:29)
at Object.getDocumentHighlights (C:\Alcidion\Miya\Web\MiyaED\node_modules\typescript\lib\typescript.js:80730:42)
at NoUseBeforeDeclareWalker.validateUsageForVariable (C:\Alcidion\Miya\Web\MiyaED\node_modules\tslint\lib\rules\noUseBeforeDeclareRule.js:113:47)
at NoUseBeforeDeclareWalker.visitImportDeclaration (C:\Alcidion\Miya\Web\MiyaED\node_modules\tslint\lib\rules\noUseBeforeDeclareRule.js:77:18)
at NoUseBeforeDeclareWalker.SyntaxWalker.visitNode (C:\Alcidion\Miya\Web\MiyaED\node_modules\tslint\lib\language\walker\syntaxWalker.js:382:22)
at NoUseBeforeDeclareWalker.ScopeAwareRuleWalker.visitNode (C:\Alcidion\Miya\Web\MiyaED\node_modules\tslint\lib\language\walker\scopeAwareRuleWalker.js:58:36)
Expected behavior
Not to throw an error.
The text was updated successfully, but these errors were encountered:
Bug Report
4.2.2
2.2.0 RC
tslint --project tsconfig.json -t stylish --type-check -e **/src/types/api.ts
TypeScript code being linted
I have been unable to narrow it down to a single file, any file in my project I check causes the error to throw.
with
tslint.json
configuration:Actual behavior
Exception is thrown:
Expected behavior
Not to throw an error.
The text was updated successfully, but these errors were encountered: