DistributiveOmit
Allows omitting of keys from unions that are disjoint
Signature
export type DistributiveOmit<T, K extends DistributiveKeys<T>> = T extends unknown ? { [P in keyof Omit_<T, K>]: Omit_<T, K>[P];} : never;Private types
DistributiveKeysTypeAlias
type DistributiveKeys<T> = T extends unknown ? Keys<T> : never;Omit_TypeAlias
type Omit_<T, K> = Omit<T, Extract<keyof T, K>>;KeysTypeAlias
type Keys<T> = keyof T;Members
This export does not declare public properties or methods in the generated declaration file.