This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
no-unsafe-any raises errors on import statements that are not typed as "any" #2494
Labels
Milestone
Bug Report
tslint test.ts --type-check --project tsconfig.json
TypeScript code being linted
with
tslint.json
configuration:I've tried with the following two
tsconfig.json
:{ "compilerOptions": {} }
and:
Actual behavior
The error:
Expected behavior
No error. I don't see why the imported symbols are somehow considered to be of type
any
. They obviously aren't since the IDE is able to perform completion that uses TypeScript type information.The text was updated successfully, but these errors were encountered: