I love Ramda, but my organisation is falling away from it - we have hires who don't think in FP, and Typescript and
Ramda fight somewhat.
You can coax Ramda code to work in Typescript by strategically adding as
in the right places. But it's often quite
hard work -- harder work than refactoring away from Ramda before converting the plain JS to TS.
Here's some patterns for refactoring away from Ramda. In most cases, applying any of these changes leaves you with less
clear code than you started with. But you can now apply more refactorings - extract function, extract method, pulling up