function foo1(x: number): void function foo1(x: string): void function foo1(x: any): any { return x }