var f: (s: string, n?: number) => void; var g: (s: string, b?: boolean) => void; f = g; g = f;