function f(x: string): number; function f(x: string): void { return; }