Skip to content

Commit

Permalink
docs: update ramda example (#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamfliper committed Apr 26, 2024
1 parent bdd104a commit b66ccd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/updating-state.md
Expand Up @@ -131,7 +131,7 @@ You can also use [Ramda](https://ramdajs.com/):
```ts
ramdaInc: () =>
set(R.over(R.lensPath(["deep", "nested", "obj", "count"]), (c) => c + 1)),
set(R.modifyPath(["deep", "nested", "obj", "count"], (c) => c + 1)),
```
Both ramda and optics-ts also work with types.
Expand Down

0 comments on commit b66ccd5

Please sign in to comment.