Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.6 KB

types.interfacemergeoptions.md

File metadata and controls

21 lines (14 loc) · 1.6 KB

Home > @skunkteam/types > InterfaceMergeOptions

InterfaceMergeOptions interface

Options for InterfaceType.withOptional(), InterfaceType.withRequired() and InterfaceType.mergeWith().

Signature:

interface InterfaceMergeOptions

Properties

Property Modifiers Type Description
name? string | null (Optional) The optional name for the new type, or null to force a generated TypeScript-like name.
omitParsers? true (Optional) Suppress the error about existing custom parsers on one of the types that is being merged.
omitValidations? true (Optional) When set, do not apply the custom validations from the base types onto the new merged type.