IntersectionType <Elements>
Hierarchy
- NodeTrait
- IntersectionType
Index
Constructors
publicconstructor
Type parameters
Parameters
intersection: Node[]
options: SchemaOptions<object, UnionToIntersection<Elements[number][infer]>>
Returns IntersectionType<Elements>
Properties
public_attributes
Type declaration
generic: GenericAttributes
typescript: TypescriptAttributes
publicoptional_canReference
public_children
publicoptional_connections
public_definition
publicoptional_hooks
public_id
public_isCommutative
publicoptional_name
public_options
publicoptional_sourcePath
publicoptional_transform
Type declaration
optionalaliasName?: (name: string) => string
Parameters
name: string
Returns string
optionalreferenceName?: (name: string) => string
Parameters
name: string
Returns string
optionalsymbolName?: (name: string) => string
Parameters
name: string
Returns string
public_type
publicinfer
publicinput
publicintrinsic
Accessors
public_output
Returns undefined | (TypescriptOutput | GenericOutput)[]
Methods
publicarray
Parameters
options: SchemaOptions<ArrayOptions> = {}
Returns ArrayType<IntersectionType<Elements>>
publiccompile
Parameters
__namedParameters: { formats?: boolean } = {}
optionalformats: boolean = true
Returns Schema<{ [ KeyType in string | number | symbol ]: UnionToIntersection<Elements[number][infer]>[KeyType] }>
publicdefault
Parameters
value: { [ KeyType in string | number | symbol ]: UnionToIntersection<Elements[number][input]>[KeyType] }
Returns DefaultType<IntersectionType<Elements>>
publicdescribe
Parameters
description: string
Returns this
publicjsonschema
Parameters
schema: JsonSchema<{ [ KeyType in string | number | symbol ]: UnionToIntersection<Elements[number][infer]>[KeyType] }>
Returns this
publicnullable
Returns NullableType<IntersectionType<Elements>>
publicoptional
Returns OptionalType<IntersectionType<Elements>>
publicreference
Parameters
options: SchemaOptions<object> = {}
Returns RefType<Intrinsic<Elements[number]>>
publicvalidator
Parameters
validator: Partial<ValidatorOptions> = {}
Returns this