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)



type: "reflection" = "reflection"

The type name identifier.


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

    Returns "Object" | "Function"