ts-morph-structures

Home > ts-morph-structures > UnionTypeStructureImpl

UnionTypeStructureImpl class

Signature:

export default class UnionTypeStructureImpl extends TypeStructuresWithChildren<TypeStructureKind.Union, TypeStructures[]> 

Extends: TypeStructuresWithChildren<TypeStructureKind.Union, TypeStructures[]>

Example

Foo | Bar | ...

Constructors

Constructor Modifiers Description
(constructor)(childTypes)   Constructs a new instance of the UnionTypeStructureImpl class

Properties

Property Modifiers Type Description
childTypes   TypeStructures[]  
endToken <p>protected</p><p>readonly</p> (not declared)  
joinChildrenToken <p>protected</p><p>readonly</p> (not declared)  
kind readonly (not declared)  
maxChildCount <p>protected</p><p>readonly</p> number  
objectType <p>protected</p><p>readonly</p> null  
startToken <p>protected</p><p>readonly</p> (not declared)  

Methods

Method Modifiers Description
clone(other) static