swc/crates/swc_ecma_parser/tests/tsc/circularImportAlias.ts

19 lines
243 B
TypeScript

// expected no error
module B {
export import a = A;
export class D extends a.C {
id: number;
}
}
module A {
export class C { name: string }
export import b = B;
}
var c: { name: string };
var c = new B.a.C();