/** * This allows omitting keys from objects inside unions, without merging the individual components of the union. */ type Omit_ = Omit>; export type DistributiveOmit = T extends unknown ? keyof Omit_ extends never ? never : { [P in keyof Omit_]: Omit_[P]; } : never; export {}; //# sourceMappingURL=distributive-omit.d.ts.map