Releases: joanllenas/ts.data.either
Releases · joanllenas/ts.data.either
v3.0.0
v2.1.0
- fix: The library doesn't throw exceptions when non
Eithervalues are used.
BREAKING CHANGE: Until now the library had some logic to throw exceptions when a non Either value was used. This is not the case anymore.
Now, when a non Either value is detected from the isLeft or isRight functions (which are also used internally) a Left is returned.
- feat: Added
tryCatch()function. (docs)
Improved docs, types and encapsulation
Improved docs, types and encapsulation
BREAKING CHANGE:
- All
Eithertype parametrizations have changed. RightandLeftconstructors have been hidden, useright()andleft()functions instead.caseOffunction signature has changed.
v0.9.2
Stable API