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

18 lines
305 B
TypeScript

// @noEmit: true
// @Filename: /a.ts
import type { ns2 } from './b';
export namespace ns1 {
export namespace nested {
export type T = ns2.nested.T;
}
}
// @Filename: /b.ts
import type { ns1 } from './a';
export namespace ns2 {
export namespace nested {
export type T = ns1.nested.T;
}
}