1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
=== tests/cases/compiler/index.ts ===
export * from "./nested";
=== tests/cases/compiler/nested/base.ts ===
import { B } from "./shared";
>B : Symbol(B, Decl(base.ts, 0, 8))
export function f() {
>f : Symbol(f, Decl(base.ts, 0, 29))
return new B();
>B : Symbol(B, Decl(base.ts, 0, 8))
}
=== tests/cases/compiler/nested/derived.ts ===
import { f } from "./base";
>f : Symbol(f, Decl(derived.ts, 0, 8))
export function g() {
>g : Symbol(g, Decl(derived.ts, 0, 27))
return f();
>f : Symbol(f, Decl(derived.ts, 0, 8))
}
=== tests/cases/compiler/nested/index.ts ===
export * from "./base";
export * from "./derived";
export * from "./shared";
=== tests/cases/compiler/nested/shared.ts ===
export class B {}
>B : Symbol(B, Decl(shared.ts, 0, 0))
|