/** * Distribute the `Omit` to an union. * `DistributiveOmit` returns `Omit | Omit` * @see {@link https://tkdodo.eu/blog/omit-for-discriminated-unions-in-type-script this blog post} for more info. * * @template T - The original union type to distribute the `Omit` over. * @template K - The keys to omit. */ export type DistributiveOmit = T extends any ? Omit : never;