mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
13 lines
191 B
TypeScript
13 lines
191 B
TypeScript
|
// @Filename: a.ts
|
||
|
export class A {}
|
||
|
|
||
|
// @Filename: b.ts
|
||
|
export type { A } from './a';
|
||
|
|
||
|
// @Filename: c.ts
|
||
|
export * from './b';
|
||
|
|
||
|
// @Filename: d.ts
|
||
|
import { A } from './c';
|
||
|
new A(); // Error
|