We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece5a9d commit a20e5b8Copy full SHA for a20e5b8
tests/src/rules/no-extraneous-dependencies.js
@@ -427,6 +427,18 @@ describe('TypeScript', () => {
427
options: [{ packageDir: packageDirWithTypescriptDevDependencies, devDependencies: false }],
428
...parserConfig,
429
}),
430
+
431
+ test({
432
+ code: 'import type { T } from "a"; export type { T };',
433
+ options: [{ packageDir: packageDirWithTypescriptDevDependencies, devDependencies: false }],
434
+ ...parserConfig,
435
+ }),
436
437
438
+ code: 'export type { T } from "a";',
439
440
441
442
],
443
invalid: [
444
test({
0 commit comments