Return the estimated size of the type if it was all printed on one line.
Protected
getImplementation method for toString
. needsParenthesis
will be used to determine if
the returned string should be wrapped in parenthesis.
Return a string representation of this type.
Readonly
typeThe type name identifier.
Optional
elementIf present, there should be as many items in this array as there are items in the types array.
This member is only valid on unions which are on DeclarationReflection.type with a
ReflectionKind kind
of TypeAlias
. Specifying it on any other union is undefined behavior.
Represents an union type.