EITHER
interface ONE { one: number; i: string; } interface TWO { two: number; j: string; } type EITHER = ONE | TWO;
ONE
TWO