When we run our build, we found the following error
ERROR in node_modules/@types/ramda/index.d.ts:373:64 - error TS1110: Type expected.
373 (<S1 extends string, S2 extends string>(s1: S1, s2: S2) => `${S1}${S2}`);
In our package.json, we use
"@types/ramda": "^0.27.32",
But when I actually go into check the @types/ramda/package.json, it is 0.27.38
So I go back to my package.json in project and set
"@types/ramda": "0.27.32",
reinstall node_modules
It goes back
We had the same problem and this is not ramda. You must update TypeScript to the latest version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With