19 lines
299 B
Plaintext
19 lines
299 B
Plaintext
=== 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
|
|
}
|
|
|