EDIT: Some people have pointed out that this just the Either type. Its true that its equivalent to Either type but its more than that. It gives a way to flatten…Making exceptions type safe in Typescript1632Dhruv RajvanshiBen CarpFollowMar 20 · 1 min readEither type? I couldn’t find anything about it. Do you mean Union type?