48 lines
643 B
Plaintext
48 lines
643 B
Plaintext
|
=== tests/cases/compiler/declInput4.ts ===
|
||
|
module M {
|
||
|
>M : typeof M
|
||
|
|
||
|
class C { }
|
||
|
>C : C
|
||
|
|
||
|
export class E {}
|
||
|
>E : E
|
||
|
|
||
|
export interface I1 {}
|
||
|
>I1 : I1
|
||
|
|
||
|
interface I2 {}
|
||
|
>I2 : I2
|
||
|
|
||
|
export class D {
|
||
|
>D : D
|
||
|
|
||
|
public m1: number;
|
||
|
>m1 : number
|
||
|
|
||
|
public m2: string;
|
||
|
>m2 : string
|
||
|
|
||
|
public m23: E;
|
||
|
>m23 : E
|
||
|
>E : E
|
||
|
|
||
|
public m24: I1;
|
||
|
>m24 : I1
|
||
|
>I1 : I1
|
||
|
|
||
|
public m232(): E { return null;}
|
||
|
>m232 : () => E
|
||
|
>E : E
|
||
|
|
||
|
public m242(): I1 { return null; }
|
||
|
>m242 : () => I1
|
||
|
>I1 : I1
|
||
|
|
||
|
public m26(i:I1) {}
|
||
|
>m26 : (i: I1) => void
|
||
|
>i : I1
|
||
|
>I1 : I1
|
||
|
}
|
||
|
}
|