Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.49 KB

types.interfacepickoptions.md

File metadata and controls

21 lines (14 loc) · 1.49 KB

Home > @skunkteam/types > InterfacePickOptions

InterfacePickOptions interface

Options for InterfaceType.pick() and InterfaceType.omit().

Signature:

interface InterfacePickOptions

Properties

Property Modifiers Type Description
applyParser? boolean (Optional) Choose whether to apply the custom parser from the base type onto the newly "picked type" or not.
name? string | null (Optional) The optional name for the new type, or null to force a generated TypeScript-like name.
omitValidations? true (Optional) Suppress the error about existing custom validations on the base type.