mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
14 lines
253 B
TypeScript
14 lines
253 B
TypeScript
// @Filename: /a.ts
|
|
export class A {}
|
|
export class B {}
|
|
|
|
// @Filename: /b.ts
|
|
export type * from "./a";
|
|
|
|
// @Filename: /c.ts
|
|
export * from "./b";
|
|
|
|
// @Filename: /d.ts
|
|
import { A, B } from "./c";
|
|
let _: A = new A(); // Error
|
|
let __: B = new B(); // Error
|