InternalCreates a reference reflection. Should only be used within the factory function.
Optionalparent: Models.ReflectionReturn a child by its name.
The name hierarchy of the child to look for.
The found child or undefined.
Return a list of all children of a certain kind.
The desired kind of children.
An array containing all children with the desired kind.
Return the full name of this reflection, with signature names dropped if possible without introducing ambiguity in the name.
Return the full name of this reflection. Intended for use in debugging. For log messages intended to be displayed to the user for them to fix, prefer getFriendlyFullName instead.
The full name contains the name of this reflection and the names of all parent reflections.
Separator used to join the names of the reflections.
The full name of this reflection.
Gets the reflection that is referenced. This may be another reference reflection. To fully resolve any references, use getTargetReflectionDeep.
Gets the reflection that is referenced, this will fully resolve references. To only resolve one reference, use getTargetReflection.
Checks if this reflection has a comment which contains any visible text.
OptionalnotRenderedTags: readonly `@${string}`[]TRUE when this reflection has a visible comment.
Check if this reflection or any of its parents have been marked with the @deprecated tag.
Return whether this reflection is the root / project reflection.
Test whether this reflection is of the given kind.
Set a flag on this reflection.
Return a string representation of this reflection.
Return a string representation of this reflection and all of its children.
Note: This is intended as a debug tool only, output may change between patch versions.
Used internally to indent child reflections.
Traverse most potential child reflections of this reflection.
Note: This may not necessarily traverse child reflections contained within the type property
of the reflection, and should not be relied on for this. Support for checking object types will likely be removed in v0.29.
The given callback will be invoked for all children, signatures and type parameters attached to this reflection.
The callback function that should be applied for each child reflection.
Tries to get the reflection that is referenced. This may be another reference reflection. To fully resolve any references, use tryGetTargetReflectionDeep.
Tries to get the reflection that is referenced, this will fully resolve references. To only resolve one reference, use tryGetTargetReflection.
Unique id of this reflection.
The kind of this reflection.
The symbol name of this reflection.
ReadonlyvariantDiscriminator representing the type of reflection represented by this object.
OptionalcategoriesAll children grouped by their category.
OptionalchildrenThe children of this reflection. Do not add reflections to this array manually. Instead call addChild.
OptionalchildrenOptionalcommentThe parsed documentation comment attached to this reflection.
OptionaldefaultThe default value of this reflection.
Applies to function parameters, variables, and properties.
OptionaldocumentsDocuments associated with this reflection.
These are not children as including them as children requires code handle both types, despite being mostly unrelated and handled separately.
Including them here in a separate array neatly handles that problem, but also introduces another one for rendering. When rendering, documents should really actually be considered part of the "children" of a reflection. For this reason, we also maintain a list of child declarations with child documents which is used when rendering.
Optional InternalescapedThe escaped name of this declaration assigned by the TS compiler if there is an associated symbol. This is used to retrieve properties for analyzing inherited members.
Not serialized, only useful during conversion. This is a ts.__String.
OptionalextendedA list of all types that extend this reflection (e.g. the subclasses).
OptionalextendedA list of all types this reflection extends (e.g. the parent classes).
OptionalgetThe get signature of this declaration.
OptionalgroupsAll children grouped by their kind.
OptionalimplementationA type that points to the reflection this reflection is the implementation of.
Applies to class members.
OptionalimplementedA list of all types that implement this reflection.
OptionalimplementedA list of all types this reflection implements.
OptionalindexThe index signature of this declaration.
OptionalinheritedA type that points to the reflection this reflection has been inherited from.
Applies to interface and class members.
OptionaloverwritesA type that points to the reflection that has been overwritten by this reflection.
Applies to interface and class members.
OptionalpackageThe version of the module when found.
OptionalparentThe reflection this reflection is a child of.
OptionalreadmeThe contents of the readme file of the module when found.
OptionalsetThe set signature of this declaration.
OptionalsignaturesA list of call signatures attached to this declaration.
TypeDoc creates one declaration per function that may contain one or more signature reflections.
OptionalsourcesA list of all source files that contributed to this reflection.
OptionaltypeThe type of the reflection.
If the reflection represents a variable or a property, this is the value type.
If the reflection represents a signature, this is the return type.
OptionaltypeContains a simplified representation of the type hierarchy suitable for being rendered in templates.
Optionaltype
Describes a reflection which does not exist at this location, but is referenced. Used for imported reflections.