I am using typescript to build a microservice and handling signals as well. The code was working fine till a few days ago but recently it started throwing errors. Couldn\'t find
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) => {
}, {});