Represents a type which has it's own reflection like literal types. This type will likely go away at some point and be replaced by a dedicated ObjectType. Allowing reflections to be nested within types causes much pain in the rendering code.

let value: { a: string, b: number };

Hierarchy

  • Type
    • ReflectionType

Constructors

Properties

type: "reflection" = "reflection"

The type name identifier.

Methods

  • getTypeString(): "Object" | "Function"
  • Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.

    Returns "Object" | "Function"

  • needsParenthesis(): boolean
  • toString(): string
  • Return a string representation of this type.

    Returns string

  • Visit this type, returning the value returned by the visitor.

    Type Parameters

    • T

    Parameters

    Returns T

  • Type Parameters

    • T

    Parameters

    Returns undefined | T

Generated using TypeDoc