Literal
Type
Type
constructor
is
Dot
Dot
Dot
is
Question
kind
value
convert
to
Constructor
to
String
Hierarchy
LiteralTypeType
Implements
Type
Index
Constructors
constructor
Properties
is
Dot
Dot
Dot
is
Question
kind
value
Methods
convert
to
Constructor
to
String
Constructors
constructor
new
Literal
Type
Type
(
value
:
string
, isDotDotDot
?:
boolean
, isQuestion
?:
boolean
)
:
LiteralTypeType
Parameters
value:
string
Default value
isDotDotDot:
boolean
= false
Default value
isQuestion:
boolean
= false
Returns
LiteralTypeType
Properties
is
Dot
Dot
Dot
is
Dot
Dot
Dot
:
boolean
is
Question
is
Question
:
boolean
kind
kind
:
string
= "LiteralType"
value
value
:
string
Methods
convert
convert
(
argument
:
any
)
:
any
Parameters
argument:
any
Returns
any
to
Constructor
to
Constructor
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string