diff --git a/tests/typescript_import_export/type-modifier.ts b/tests/typescript_import_export/type-modifier.ts index 85727b127fb3..a613d087c00a 100644 --- a/tests/typescript_import_export/type-modifier.ts +++ b/tests/typescript_import_export/type-modifier.ts @@ -1,5 +1,16 @@ -import type { SomeThing } from "./some-module.js"; export type { SomeThing }; +export type { A as B }; +export type { B as C } from './a'; +export type { foo } from 'bar'; +export type * from 'bar'; +export type { foo }; + +// this should be treated as a normal import statement +import type from './foo'; -import type Foo from "./foo.js"; -export type Foo; +import type { SomeThing } from "./some-module.js"; +import type { foo, bar } from 'baz'; +import type { foo as bar } from 'baz'; +import type * as foo from './bar'; +import type foo from 'bar'; +import type foo, { bar } from 'bar';