TypeScript/tests/baselines/reference/moduleReopenedTypeOtherBlock.symbols
2015-04-15 16:44:20 -07:00

21 lines
801 B
Plaintext

=== 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(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(f, Decl(moduleReopenedTypeOtherBlock.ts, 5, 21))
>I : Symbol(I, Decl(moduleReopenedTypeOtherBlock.ts, 1, 23))
}