function foo(x: any); function foo(x: any); function foo(x: any, y: number) { } class C { get X(): any { var y: any; return y; } set X(v: any) { } }