Home > ts-morph-structures > UnionTypeStructureImpl
Signature:
export default class UnionTypeStructureImpl extends TypeStructuresWithChildren<TypeStructureKind.Union, TypeStructures[]>
Extends: TypeStructuresWithChildren<TypeStructureKind.Union, TypeStructures[]>
Foo | Bar | ...
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(childTypes) | Constructs a new instance of the UnionTypeStructureImpl class |
| 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) |
| Method | Modifiers | Description |
|---|---|---|
| clone(other) | static |