Safely removes a property from an object and infers new signature
const fruit: Fruit = { color: 'yellow', kind: 'banana' }const withoutKind = removeProperty(fruit, 'color') // { kind: 'banana' }
Generated using TypeDoc
Safely removes a property from an object and infers new signature
Example