OmitPropstype

Omit<T, { [K in keyof T]: T[K] extends TT ? K : never }[keyof T]>
Type
Omit
K

Omit the properties of an object that match a type.