19 lines
313 B
Text
19 lines
313 B
Text
=== tests/cases/compiler/moduleReopenedTypeSameBlock.ts ===
|
|
module M { export class C1 { } }
|
|
>M : typeof M
|
|
>C1 : C1
|
|
|
|
module M {
|
|
>M : typeof M
|
|
|
|
export interface I { n: number; }
|
|
>I : I
|
|
>n : number
|
|
|
|
export class C2 { f(): I { return null; } }
|
|
>C2 : C2
|
|
>f : () => I
|
|
>I : I
|
|
>null : null
|
|
}
|
|
|