Skip to content

TypeAlias.TemplateLiteralPart

github-actions[bot] edited this page Jul 8, 2026 · 29 revisions

umt / TemplateLiteralPart

Type Alias: TemplateLiteralPart

TemplateLiteralPart = string | TemplateLiteralAnyValidator

Defined in: Validate/templateLiteral/core.ts:24

Allowed parts of a template literal definition. Each element is either a string literal that must appear verbatim, or a primitive validator whose accepted shape is converted to a regex fragment at construction time.

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally