exactOptionalPropertyTypes-safe setter for optional boolean flags: delete when undefined; assign when defined — without requiring an index signature on T.
Target object type.
The object to write to.
The optional boolean property key of T.
The value to set or undefined to unset.
undefined
Writes through a local Record<string, unknown> view to avoid requiring an index signature on T.
Record<string, unknown>
exactOptionalPropertyTypes-safe setter for optional boolean flags: delete when undefined; assign when defined — without requiring an index signature on T.