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