TypeScript/tests/baselines/reference/moduleReopenedTypeOtherBlock.types

22 lines
320 B
Plaintext
Raw Normal View History

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