-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Could we have an example of how to use O.Either? #223
Comments
import { O } from 'ts-toolbelt'
type Food = {
carrot: boolean
orange: boolean
banana: boolean,
}
type Either = O.Either<Food, 'carrot' | 'banana'> Will add to the docs soon! |
@millsp I think it's best if every example can show what the result type would look like. : ) |
Yhea, this brings us back to adding a playground button. Or an iframe to the ts playground? |
@millsp try the iframe! Seems simple and fast enough! And very beneficial |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There is no example docs https://millsp.github.io/ts-toolbelt/modules/object_either.html
The text was updated successfully, but these errors were encountered: