We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the site documentation, there is an example of pathOr with a string for the path property:
pathOr
R.pathOr(1, 'a.b', {a: {b: 2}}) // => 2
This causes an error when using TypeScript because the definitions do not allow a string like they do with the path function.
path
rambda/index.d.ts
Lines 391 to 396 in b27e21d
The text was updated successfully, but these errors were encountered:
Duly noted, will fix it in two days as I cannot do so earlier than that.
Sorry, something went wrong.
fix@issue #90 typings of path.or
fc33337
No branches or pull requests
In the site documentation, there is an example of
pathOr
with a string for the path property:This causes an error when using TypeScript because the definitions do not allow a string like they do with the
path
function.rambda/index.d.ts
Lines 391 to 396 in b27e21d
The text was updated successfully, but these errors were encountered: