Home > @skunkteam/types > InterfacePickOptions
Options for InterfaceType.pick() and InterfaceType.omit().
Signature:
interface InterfacePickOptions
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. |