[consistent-type-imports] Issues with Angular's Dependency Injection #2713
Labels
duplicate
This issue or pull request already exists
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
I expected the imports not to be replaced with Type Only imports
Actual Result
Injected dependencies are replaced with type only imports
This causes errors in compilation like this:
Additional Info
I have a feeling this is also related to #2559. I am unfamiliar with NestJS it seems like they handle dependency injection in a similar manner.
Versions
@typescript-eslint/eslint-plugin
4.5.0
@typescript-eslint/parser
4.5.0
TypeScript
4.0.3
ESLint
7.12.0
node
14.4.0
@angular/core
10.2.0
The text was updated successfully, but these errors were encountered: