Package: effect
Module: SchemaAST
AST node representing a TypeScript template literal type
(e.g. `user_${string}`).
Details
parts is an array of AST nodes; each part contributes to matching
strings at runtime.
See
isTemplateLiteralSignature
declare class TemplateLiteral { constructor(
parts: ReadonlyArray<AST>,
annotations?: Schema.Annotations.Annotations,
checks?: Checks,
encoding?: Encoding,
context?: Context
) }
Since v3.10.0