35 lines
541 B
Text
35 lines
541 B
Text
|
=== tests/cases/compiler/parseShortform.ts ===
|
||
|
interface I {
|
||
|
>I : I
|
||
|
|
||
|
w: {
|
||
|
>w : { (): boolean; [x: string]: { x: any; y: any; }; [x: number]: { x: any; y: any; }; z: I; }
|
||
|
|
||
|
z: I;
|
||
|
>z : I
|
||
|
>I : I
|
||
|
|
||
|
(): boolean;
|
||
|
[s: string]: { x: any; y: any; };
|
||
|
>s : string
|
||
|
>x : any
|
||
|
>y : any
|
||
|
|
||
|
[n: number]: { x: any; y: any; };
|
||
|
>n : number
|
||
|
>x : any
|
||
|
>y : any
|
||
|
|
||
|
};
|
||
|
x: boolean;
|
||
|
>x : boolean
|
||
|
|
||
|
y: (s: string) => boolean;
|
||
|
>y : (s: string) => boolean
|
||
|
>s : string
|
||
|
|
||
|
z: I;
|
||
|
>z : I
|
||
|
>I : I
|
||
|
}
|