Skip to content

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.

raw: TRaw

value: TValue

TRaw extends string = string

TValue extends string = TRaw