mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +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
|