optics-ts icon indicating copy to clipboard operation
optics-ts copied to clipboard

Type-safe, ergonomic, polymorphic optics for TypeScript

Results 16 optics-ts issues
Sort by recently updated
recently updated
newest added

Is there the equivalent of the array value `elems()` traversal for Record values? I'm thinking things like `keys()`, `values()`, and `entries()`. Also, if you want to compose optics that are...

Maybe I'm misunderstanding as I'm still learning the library with Jotai, but it seems like it might be possible to use the [JSON Pointer RFC standard](https://www.rfc-editor.org/rfc/rfc6901) to focus the optics...

`valueOr` works well for `| undefined` fields, but not for `| null` fields. I didn't see any function to support this, but maybe I overlooked something? ```ts import * as...

Hi There, I'm loving this library, and I'm trying to explore all the ways in which I could use it. I want to do something similar to what's described here...

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.21.0 to 7.0.0. Release notes Sourced from @​typescript-eslint/eslint-plugin's releases. v7.0.0 7.0.0 (2024-02-12) Read more about this release: https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/ πŸš€ Features add support for flat configs (#7935) 🩹...

dependencies

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.1 to 3.2.5. Release notes Sourced from prettier's releases. 3.2.5 πŸ”— Changelog 3.2.4 Fix .eslintrc.json format #15947 πŸ”— Changelog 3.2.3 Format tsconfig.json file with jsonc parser #15927...

dependencies

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.3.3. Release notes Sourced from typescript's releases. TypeScript 5.3.3 For release notes, check out the release announcement. For the complete list of fixed issues, check...

dependencies

Hi! πŸ‘‹ Firstly, thanks for your work on this project! πŸ™‚ Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Here is the diff that solved...

Expected outcome for `O.remove(O.optic().nth(0))([1])` is: `[]`, but actual result is: `[Symbol(__remove_me__)]`