Class ReflectionType

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 (view full)

Constructors

Properties

type = "reflection"

The type name identifier.

Methods

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

    Returns "Function" | "Object"