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.
ObjectType
let value: { a: string, b: number }; Copy
let value: { a: string, b: number };
Return the estimated size of the type if it was all printed on one line.
Protected
Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.
toString
needsParenthesis
Return a string representation of this type.
Visit this type, returning the value returned by the visitor.
Readonly
The type name identifier.
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.