ramda: Fix compile errors (#19209)
ramda: Fix compile errors (#19209)

* ramda: Fix compile errors

* Update TypeScript version

AgentME/DefinitelyTyped,rolandzwaga/DefinitelyTyped,jimthedev/DefinitelyTyped,georgemarshall/DefinitelyTyped,arusakov/DefinitelyTyped,zuzusik/DefinitelyTyped,alexdresko/DefinitelyTyped,chrootsu/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,nycdotnet/DefinitelyTyped,one-pieces/DefinitelyTyped,benishouga/DefinitelyTyped,alexdresko/DefinitelyTyped,georgemarshall/DefinitelyTyped,chrootsu/DefinitelyTyped,benishouga/DefinitelyTyped,magny/DefinitelyTyped,borisyankov/DefinitelyTyped,aciccarello/DefinitelyTyped,nycdotnet/DefinitelyTyped,jimthedev/DefinitelyTyped,aciccarello/DefinitelyTyped,arusakov/DefinitelyTyped,benliddicott/DefinitelyTyped,abbasmhd/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,markogresak/DefinitelyTyped,AgentME/DefinitelyTyped,zuzusik/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,arusakov/DefinitelyTyped,benishouga/DefinitelyTyped,dsebastien/DefinitelyTyped,jimthedev/DefinitelyTyped,zuzusik/DefinitelyTyped,aciccarello/DefinitelyTyped,georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,rolandzwaga/DefinitelyTyped,dsebastien/DefinitelyTyped,abbasmhd/DefinitelyTyped,magny/DefinitelyTyped,mcliment/DefinitelyTyped,AgentME/DefinitelyTyped