Closed
Description
openedon Nov 19, 2020
Repro:
// Foo.ts
export interface Foo {}
// index.ts
import type { Foo } from "./Foo"
exported declaration 'Foo' not used within other modules
Config:
{
"extends": [
"plugin:import/recommended",
"plugin:import/typescript",
// and more ...
],
"rules": {
"import/no-unused-modules": ["error", { "unusedExports": true }],
},
}
Versions:
@typescript-eslint/parser: 4.8.0
eslint: 7.13.0
eslint-plugin-import: 2.22.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels