[no-undef] undefined namespace after upgrading from 3.10.1 to 4.x.x #2528
Labels
fix: user error
issue was fixed by correcting the configuration / correcting the code
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
working as intended
Issues that are closed as they are working as intended
Repro
reproduction repo: https://github.com/illmat/undefined-namespace-issue
tsconfig: https://github.com/illmat/undefined-namespace-issue/blob/master/tsconfig.json
Expected Result
The namespace "stripe" should be defined
Actual Result
Additional Info
The namespace should be provided by the package: @types/stripe-v3.
It works fine in main.ts with current version 4.1.0
Works fine in App.vue when using version 3.10.1 or lower.
Versions
@typescript-eslint/parser
4.1.0
TypeScript
4.0.2
ESLint
7.8.1
node
12.18.0
The text was updated successfully, but these errors were encountered: