TemplateLiteralA template literal type composed of a sequence of parts (literals, strings, numbers, etc.).
models
Source effect/SchemaRepresentation.ts:3095 lines
export interface TemplateLiteral {
readonly TemplateLiteral._tag: "TemplateLiteral"_tag: "TemplateLiteral"
readonly TemplateLiteral.annotations?: anyannotations?: import SchemaSchema.declareAnnotations.type Schema.Annotations.Annotations = /*unresolved*/ anyAnnotations | undefined
readonly TemplateLiteral.parts: ReadonlyArray<Representation>parts: interface ReadonlyArray<T>ReadonlyArray<type Representation =
| Declaration
| Reference
| Suspend
| Null
| Undefined
| Void
| Never
| Unknown
| Any
| String
| Number
| Boolean
| BigInt
| Symbol
| Literal
| UniqueSymbol
| ObjectKeyword
| Enum
| TemplateLiteral
| Arrays
| Objects
| Union
The core tagged union of all supported schema shapes.
Details
Each variant has a _tag discriminator. Switch on _tag to handle each
shape. Most variants carry optional annotations and some carry checks
for validation constraints.
Representation>
}Referenced by 1 symbols