Either/Option fp-ts vs discriminated union in TS