Skip to content

Commit

Permalink
Aha, a missing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jul 28, 2023
1 parent 511b6f4 commit d92dd0b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/eslint-plugin/tests/rules/consistent-type-imports.test.ts
Expand Up @@ -536,6 +536,18 @@ ruleTester.run('consistent-type-imports', rule, {
parserOptions: withMetaConfigParserOptions,
},

// https://github.com/typescript-eslint/typescript-eslint/issues/7327
{
code: `
import type { ClassA } from './classA';
export class ClassB {
public constructor(node: ClassA) {}
}
`,
parserOptions: withMetaConfigParserOptions,
},

// https://github.com/typescript-eslint/typescript-eslint/issues/2989
`
import type * as constants from './constants';
Expand Down

0 comments on commit d92dd0b

Please sign in to comment.