News for hackers. Stuff that matters.
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
Re:TypeScript 5.0 by dmix on Thursday March 16, 2023 @08:18PM (#35190893)
That looks perfect thank you.