mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
18 lines
309 B
TypeScript
18 lines
309 B
TypeScript
|
// @Filename: /a.ts
|
||
|
class A { a!: string }
|
||
|
export type { A as B };
|
||
|
export type Z = A;
|
||
|
|
||
|
// @Filename: /b.ts
|
||
|
import { Z as Y } from './a';
|
||
|
export { B as C } from './a';
|
||
|
|
||
|
// @Filename: /c.ts
|
||
|
import type { C } from './b';
|
||
|
export { C as D };
|
||
|
|
||
|
// @Filename: /d.ts
|
||
|
import { D } from './c';
|
||
|
new D();
|
||
|
const d: D = {};
|