Creates a version of the specified object schema with the same number or fewer keys, by picking keys. Unlike with pick, the keys of
values that may be undefined are not automatically treated as optional. You may explicitly provide type parameters when using
…_noAutoOptional methods, and those may include optional keys.
Creates a version of the specified object schema with the same number or fewer keys, by picking keys. Unlike with
pick
, the keys of values that may beundefined
are not automatically treated as optional. You may explicitly provide type parameters when using…_noAutoOptional
methods, and those may include optional keys.