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

22 lines
320 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
>null : null
}