typescript omit from union type