es-membrane

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 protected readonly (not declared)  
joinChildrenToken protected readonly (not declared)  
kind readonly (not declared)  
maxChildCount protected readonly number  
objectType protected readonly null  
startToken protected readonly (not declared)  

Methods

Method Modifiers Description
clone(other) static