pathEq types are not consistent with the code in 0.29.0
dibell opened this issue · comments
0.29.0 added a breaking change to pathEq, swapping the parameter order: val, path, obj
The types-ramda 0.29.2 package is not in line with this: path, val, obj
types-ramda is correct in the develop branch. This needs to be pushed out to match the 0.29.0 release.
@dibell fix was released in types-ramda@0.29.3
: https://github.com/ramda/types/releases/tag/v0.29.3
This doesn't seem to be available on npm yet:
https://www.npmjs.com/package/@types/ramda?activeTab=versions
Latest is 0.29.2
@Harris-Miller do we need to do something to get this released by DefinitelyTyped?
@codan84 @kedashoe @types/ramda
is 0.29.2
but it utilizes types-ramda
0.29.3
. types-ramda
is a patch release ahead due to a bad initial release. See here.
Playground example of pathEq
being the correct argument order: https://tsplay.dev/WoxQ9w
@Harris-Miller not sure that playground example is pointing to the right place? In any event, installing @types/ramda looks like it grabs types-ramda 0.29.3, ty!