import { JsonTypeBuilder } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
[Json]
Creates a Union type
Type Parameters
T extends [TSchema]
Parameters
anyOf: [...T]
optional
options: SchemaOptions[Json]
Creates a Union type
Type Parameters
T extends TSchema[]
Parameters
anyOf: [...T]
optional
options: SchemaOptions[Json-Experimental]
Converts a TemplateLiteral into a Union
Type Parameters
T extends TTemplateLiteral
Parameters
template: T