Re:TypeScript 5.0
by halfmatthalfcat on Thursday March 16, 2023 @07:25PM
(#35190396)
fp-ts (and most functional libraries) have a handy Either type just for this: https://gcanti.github.io/fp-ts/modules/Either.ts.html
[ Parent
| on HN ]