Type Alias ObjectKeysMode

ObjectKeysMode: "preserved" | "stripped" | "exact"

Defines how unknown object keys are handled.

"preserved"
Unknown object keys are preserved as-is or checked with ObjectShape.restShape.
"stripped"
The input object is cloned and unknown keys are removed from it.
"exact"
An issue is raised if an unknown key is met.