Skip to content

[V] $withPickedProperties

const $withPickedProperties: WithPickedPropertiesDecorator;

Removes all properties except the named ones from the target model in place, without walking base models. Names come from a string literal or the string-literal variants of a union; other variants are ignored.