KC's Workspace
    Preparing search index...
    interface DeclarationReflection {
        categories?: ReflectionCategory[];
        children?: (ReferenceReflection | DeclarationReflection)[];
        childrenIncludingDocuments?: ReflectionId[];
        comment?: Comment;
        defaultValue?: string;
        documents?: DocumentReflection[];
        extendedBy?: ReferenceType[];
        extendedTypes?: SomeType[];
        flags: ReflectionFlags;
        getSignature?: SignatureReflection;
        groups?: ReflectionGroup[];
        id: ReflectionId;
        implementationOf?: ReferenceType;
        implementedBy?: ReferenceType[];
        implementedTypes?: SomeType[];
        indexSignatures?: SignatureReflection[];
        inheritedFrom?: ReferenceType;
        kind: ReflectionKind;
        name: string;
        overwrites?: ReferenceType;
        packageVersion?: string;
        readme?: CommentDisplayPart[];
        relevanceBoost?: number;
        setSignature?: SignatureReflection;
        signatures?: SignatureReflection[];
        sources?: SourceReference[];
        type?:
            | ArrayType
            | ConditionalType
            | UnknownType
            | IndexedAccessType
            | InferredType
            | IntersectionType
            | IntrinsicType
            | LiteralType
            | MappedType
            | OptionalType
            | PredicateType
            | QueryType
            | ReferenceType
            | ReflectionType
            | RestType
            | TemplateLiteralType
            | TupleType
            | NamedTupleMemberType
            | TypeOperatorType
            | UnionType;
        typeParameters?: TypeParameterReflection[];
        variant: "reference"
        | "declaration";
    }

    Hierarchy (View Summary)

    • Omit<ContainerReflection, "variant">
    • S<
          DeclarationReflection,
          | "variant"
          | "packageVersion"
          | "sources"
          | "relevanceBoost"
          | "type"
          | "signatures"
          | "indexSignatures"
          | "defaultValue"
          | "overwrites"
          | "inheritedFrom"
          | "implementationOf"
          | "extendedTypes"
          | "extendedBy"
          | "implementedTypes"
          | "implementedBy"
          | "getSignature"
          | "setSignature"
          | "typeParameters"
          | "readme",
      >
      • DeclarationReflection
    Index

    Properties

    categories?: ReflectionCategory[]

    All children grouped by their category.

    The children of this reflection. Do not add reflections to this array manually. Instead call addChild.

    childrenIncludingDocuments?: ReflectionId[]
    comment?: Comment

    The parsed documentation comment attached to this reflection.

    defaultValue?: string

    The default value of this reflection.

    Applies to function parameters, variables, and properties.

    documents?: DocumentReflection[]

    Documents 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.

    extendedBy?: ReferenceType[]

    A list of all types that extend this reflection (e.g. the subclasses).

    extendedTypes?: SomeType[]

    A list of all types this reflection extends (e.g. the parent classes).

    getSignature?: SignatureReflection

    The get signature of this declaration.

    groups?: ReflectionGroup[]

    All children grouped by their kind.

    Unique id of this reflection.

    implementationOf?: ReferenceType

    A type that points to the reflection this reflection is the implementation of.

    Applies to class members.

    implementedBy?: ReferenceType[]

    A list of all types that implement this reflection.

    implementedTypes?: SomeType[]

    A list of all types this reflection implements.

    indexSignatures?: SignatureReflection[]

    The index signature of this declaration.

    inheritedFrom?: ReferenceType

    A type that points to the reflection this reflection has been inherited from.

    Applies to interface and class members.

    The kind of this reflection.

    name: string

    The symbol name of this reflection.

    overwrites?: ReferenceType

    A type that points to the reflection that has been overwritten by this reflection.

    Applies to interface and class members.

    packageVersion?: string

    The version of the module when found.

    The contents of the readme file of the module when found.

    relevanceBoost?: number

    Precomputed boost for search results, may be less than 1 to de-emphasize this member in search results. Does NOT include group/category values as they are computed when building the JS index.

    This is exposed purely for plugin use, see #3036 for details.

    setSignature?: SignatureReflection

    The set signature of this declaration.

    signatures?: SignatureReflection[]

    A list of call signatures attached to this declaration.

    TypeDoc creates one declaration per function that may contain one or more signature reflections.

    sources?: SourceReference[]

    A list of all source files that contributed to this reflection.

    type?:
        | ArrayType
        | ConditionalType
        | UnknownType
        | IndexedAccessType
        | InferredType
        | IntersectionType
        | IntrinsicType
        | LiteralType
        | MappedType
        | OptionalType
        | PredicateType
        | QueryType
        | ReferenceType
        | ReflectionType
        | RestType
        | TemplateLiteralType
        | TupleType
        | NamedTupleMemberType
        | TypeOperatorType
        | UnionType

    The 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.

    typeParameters?: TypeParameterReflection[]
    variant: "reference" | "declaration"

    Discriminator representing the type of reflection represented by this object.