effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.TemplateLiteral

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

Signature

declare class TemplateLiteral { constructor(
    parts: ReadonlyArray<AST>,
    annotations?: Schema.Annotations.Annotations,
    checks?: Checks,
    encoding?: Encoding,
    context?: Context
  ) }

Source

Since v3.10.0