1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
=== tests/cases/compiler/moduleReopenedTypeOtherBlock.ts ===
module M {
>M : Symbol(M, Decl(moduleReopenedTypeOtherBlock.ts, 0, 0), Decl(moduleReopenedTypeOtherBlock.ts, 3, 1))
export class C1 { }
>C1 : Symbol(C1, Decl(moduleReopenedTypeOtherBlock.ts, 0, 10))
export interface I { n: number; }
>I : Symbol(I, Decl(moduleReopenedTypeOtherBlock.ts, 1, 23))
>n : Symbol(I.n, Decl(moduleReopenedTypeOtherBlock.ts, 2, 24))
}
module M {
>M : Symbol(M, Decl(moduleReopenedTypeOtherBlock.ts, 0, 0), Decl(moduleReopenedTypeOtherBlock.ts, 3, 1))
export class C2 { f(): I { return null; } }
>C2 : Symbol(C2, Decl(moduleReopenedTypeOtherBlock.ts, 4, 10))
>f : Symbol(C2.f, Decl(moduleReopenedTypeOtherBlock.ts, 5, 21))
>I : Symbol(I, Decl(moduleReopenedTypeOtherBlock.ts, 1, 23))
}
|