Skip to content

Better Either Generics

Choose a tag to compare

@allanhortle allanhortle released this 18 Dec 22:41
· 11 commits to master since this release

BREAKING:

Either now has types for left and right

// New
function(): Either<LeftType, RightType> {}

// Old
function(): Either<RightType> {}