ObjectType<Schema>:Simplify<ObjectOptional<Optionalize<{[ Key in keyof Schema]: Infer<Schema[Key]>}>>>
An object type with support for exact optionals. This is used by the object
struct. This uses the ObjectOptional helper to make properties with
undefined in their type optional, but not undefined itself.
Deprecated
Use ObjectType from @metamask/superstruct@>=3.2.0 instead.
An object type with support for exact optionals. This is used by the
object
struct. This uses the ObjectOptional helper to make properties withundefined
in their type optional, but notundefined
itself.Deprecated
Use
ObjectType
from@metamask/superstruct@>=3.2.0
instead.