No overload matches this call. Type 'string' is not assignable to type 'Signals'
Solution 1:
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) => {
}, {});
Solution 2:
I also had this strange issue, but I worked around it using type assertions (in my case using a string enum):
(Object.values(someEnum) as string[]).concat(otherStringArray);