Omit<T, K> Type alias
Create a type with T
properties excluding properties listed in K
.
Usage example: Omit<SomeType, "exclude_prop1" | "exclude_prop2">
Omit = Pick<T, Exclude<, K>>
Defined in
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.