StringNode
StringNode<
TRaw,TValue> =ASTNode<"literal","string"> &object
Defined in: src/primitive/index.ts:62
String literal node. raw is the source text between the quotes
(escape sequences intact); value is the unescaped runtime string.
For strings without escapes the two coincide.
Type Declaration
Section titled “Type Declaration”raw:
TRaw
value:
TValue
Type Parameters
Section titled “Type Parameters”TRaw extends string = string
TValue
Section titled “TValue”TValue extends string = TRaw