We have a structure that is like the following:
export type LinkRestSource = { model: string; rel?: string; title?: string; } | { model?: str
Maybe something like that:
type X = (A & Partial & Partial) | (Partial & B & Partial) | (Partial & Partial & C); type LinkRestSource = X<{ model: string }, { rel: string }, { title: string }> var d: LinkRestSource = {rel: 'sdf'};
But it little bit messy :)
or
type Y = Partial & (A | B | C);