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