Represents an intrinsic type like string or boolean.
string
boolean
let value: number; Copy
let value: 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 an intrinsic type like
string
orboolean
.