TypeScript/tests/baselines/reference/moduleReopenedTypeOtherBlock.types
2014-08-15 14:37:48 -07:00

21 lines
306 B
Plaintext

=== 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
}