This sometimes happens when you have passed an incorrect number of arguments to an anonymous function:
Object.keys(data).reduce((key: string) => {
}, {});
will raise error:
No overload matches this call. Overload 1 of 3
Pass it the correct number of arguments:
Object.keys(data).reduce((acc: any, key: string) => {
}, {});