Skip to main content
Version: Next 🚧

[I] Union

Extends

Properties

PropertyModifierTypeDescriptionOverridesInherited from
decoratorspublicDecoratorApplication[]--DecoratedType.decorators
entityKindreadonly"Type"--BaseType.entityKind
expressionpublicboolean---
instantiationParameters?publicType[]--BaseType.instantiationParameters
isFinishedpublicbooleanReflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface)-BaseType.isFinished
kindpublic"Union"-BaseType.kind-
name?publicstring---
namespace?publicNamespace---
nodepublicUnionStatementNode | UnionExpressionNode-BaseType.node-
optionsreadonlyType[]Deprecated use variants--
projectionBase?publicType--BaseType.projectionBase
projectionSource?publicType--BaseType.projectionSource
projector?publicProjector--BaseType.projector
templateArguments?public(Type | Value | IndeterminateEntity)[]Deprecated use templateMapper instead.-TemplatedTypeBase.templateArguments
templateMapper?publicTypeMapper--TemplatedTypeBase.templateMapper
templateNode?publicNode--TemplatedTypeBase.templateNode
variantspublicRekeyableMap<string | symbol, UnionVariant>The variants of the union. Variants are ordered in order that they appear in source.--

Accessors

projections

get projections(): ProjectionStatementNode[]

Returns

ProjectionStatementNode[]

Inherited from

BaseType.projections

Methods

projectionsByName()

projectionsByName(name): ProjectionStatementNode[]

Parameters

ParameterType
namestring

Returns

ProjectionStatementNode[]

Inherited from

BaseType.projectionsByName