21 lines
306 B
Plaintext
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
|
||
|
}
|
||
|
|