UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

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