function foo (this : number, x : number, y : string, ...z : any) { x + y + z[0]; }