UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

4 lines (3 loc) 215 B
import type { TSchema, SchemaOptions } from '../schema/index.mjs'; import { TUnion } from './union-type.mjs'; export declare function UnionCreate<T extends TSchema[]>(T: [...T], options?: SchemaOptions): TUnion<T>;