Class: LiteralTypeInfo
types.literal type info.
Extends
Constructors
Constructor
new LiteralTypeInfo(thisType, literal): LiteralTypeInfo;
Parameters
| Parameter | Type |
|---|---|
thisType | AnyStandardType |
literal | PrimitiveValue |
Returns
LiteralTypeInfo
Overrides
Properties
kind
readonly kind: "literal" = "literal";
Overrides
literal
readonly literal: PrimitiveValue;
thisType
readonly thisType: AnyStandardType;