TypeScript/tests/baselines/reference/moduleReopenedTypeOtherBlock.types

22 lines
866 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/moduleReopenedTypeOtherBlock.ts ===
module M {
2015-04-13 23:01:57 +02:00
>M : typeof M, Symbol(M, Decl(moduleReopenedTypeOtherBlock.ts, 0, 0), Decl(moduleReopenedTypeOtherBlock.ts, 3, 1))
2014-08-15 23:33:16 +02:00
export class C1 { }
2015-04-13 23:01:57 +02:00
>C1 : C1, Symbol(C1, Decl(moduleReopenedTypeOtherBlock.ts, 0, 10))
2014-08-15 23:33:16 +02:00
export interface I { n: number; }
2015-04-13 23:01:57 +02:00
>I : I, Symbol(I, Decl(moduleReopenedTypeOtherBlock.ts, 1, 23))
>n : number, Symbol(n, Decl(moduleReopenedTypeOtherBlock.ts, 2, 24))
2014-08-15 23:33:16 +02:00
}
module M {
2015-04-13 23:01:57 +02:00
>M : typeof M, Symbol(M, Decl(moduleReopenedTypeOtherBlock.ts, 0, 0), Decl(moduleReopenedTypeOtherBlock.ts, 3, 1))
2014-08-15 23:33:16 +02:00
export class C2 { f(): I { return null; } }
2015-04-13 23:01:57 +02:00
>C2 : C2, Symbol(C2, Decl(moduleReopenedTypeOtherBlock.ts, 4, 10))
>f : () => I, Symbol(f, Decl(moduleReopenedTypeOtherBlock.ts, 5, 21))
>I : I, Symbol(I, Decl(moduleReopenedTypeOtherBlock.ts, 1, 23))
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00
}