Interface TTemplateLiteral<T>

interface TTemplateLiteral<T> {
    $id?: string;
    $schema?: string;
    [Hint]?: string;
    [Kind]: "TemplateLiteral";
    [OptionalKind]?: string;
    [ReadonlyKind]?: string;
    default?: any;
    description?: string;
    examples?: any;
    params: unknown[];
    pattern: string;
    readOnly?: boolean;
    static: TemplateLiteralStatic<T, "">;
    title?: string;
    type: "string";
    writeOnly?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

$id?: string

Id for this schema

$schema?: string
[Hint]?: string
[Kind]: "TemplateLiteral"
[OptionalKind]?: string
[ReadonlyKind]?: string
default?: any

Default value for this schema

description?: string

Description of this schema

examples?: any

Example values matching this schema

params: unknown[]
pattern: string
readOnly?: boolean

Optional annotation for readOnly

static: TemplateLiteralStatic<T, "">
title?: string

Title of this schema

type: "string"
writeOnly?: boolean

Optional annotation for writeOnly