Skip to content
New issue

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

No fromProp method in docs. #174

Open
SimonAM opened this issue Dec 31, 2021 · 1 comment
Open

No fromProp method in docs. #174

SimonAM opened this issue Dec 31, 2021 · 1 comment

Comments

@SimonAM
Copy link

SimonAM commented Dec 31, 2021

📖 Documentation

The examples in the documentation refers to Lens.fromProp method.
However, in the docs no such method exists.

https://gcanti.github.io/monocle-ts/modules/Lens.ts.html

@kalda341
Copy link

kalda341 commented Jan 8, 2022

It's a little confusing, but you're looking at the unstable API. What you're looking for in is in the index module:

https://gcanti.github.io/monocle-ts/modules/index.ts.html#fromprop-static-method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants