TypeScript/tests/baselines/reference/moduleReopenedTypeOtherBlock.types

21 lines
306 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/moduleReopenedTypeOtherBlock.ts ===
module M {
>M : typeof M
export class C1 { }
>C1 : C1
export interface I { n: number; }
>I : I
>n : number
}
module M {
>M : typeof M
export class C2 { f(): I { return null; } }
>C2 : C2
>f : () => I
>I : I
}