KC's Workspace
    Preparing search index...

    Represents a type that refers to another reflection like a class, interface or enum.

    let value: MyClass<T>;
    

    Hierarchy (View Summary)

    Index

    Properties

    externalUrl?: string

    If this reference type refers to a reflection defined by a project not being rendered, points to the url that this type should be linked to.

    highlightedProperties?: Map<string, CommentDisplayPart[]>

    Sometimes a few properties are more important than the rest of the properties within a type. This occurs most often with object parameters, where users want to specify @param foo.bar to highlight something about the bar property.

    Does NOT support nested properties.

    name: string

    The name of the referenced type.

    If the symbol cannot be found because it's not part of the documentation this can be used to represent the type.

    package?: string

    The package that this type is referencing.

    preferValues: boolean

    If set, will prefer reflections with ReflectionKinds which represent values rather than those which represent types.

    qualifiedName: string

    The fully qualified name of the referenced type, relative to the file it is defined in. This will usually be the same as name, unless namespaces are used.

    refersToTypeParameter: boolean

    If set, no warnings about something not being exported should be created since this may be referring to a type created with infer X which will not be registered on the project.

    type: "reference"

    The type name identifier.

    typeArguments?: SomeType[]

    The type arguments of this reference.

    Accessors

    Methods

    • Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.

      Returns string

    • Checks if this type is a reference type because it uses a name, but is intentionally not pointing to a reflection. This happens for type parameters and when representing a mapped type.

      Returns boolean

    • Internal

      This is used for type parameters, which don't actually point to something, and also for temporary references which will be cleaned up with real references later during conversion.

      Parameters

      Returns ReferenceType