-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have read the FAQ and my problem is not listed.
Repro
{
"rules": {
"@typescript-eslint/consistent-type-imports": "error"
}
}
import type * as constants from './constants';
export type Y = {
[constants.X]: ReadonlyArray<string>;
};
Expected Result
No error as in 4.13.0
Actual Result
error:
1:1 error Type import "constants" is used by decorator metadata @typescript-eslint/consistent-type-imports
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
4.14.1 |
@typescript-eslint/parser |
4.14.1 |
TypeScript |
4.1.3 |
ESLint |
7.19.0 |
node |
12.16.0 |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin