Either/Option fp-ts vs discriminated union en TS