mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
19 lines
243 B
TypeScript
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();
|
|
|
|
|