function foo2(x: number | string): void;
function foo2(x: any): any {
  return x;
}
