UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

34 lines (33 loc) 1.93 kB
import type { TAny } from '../any/index'; import type { TArray } from '../array/index'; import type { TAsyncIterator } from '../async-iterator/index'; import type { TBigInt } from '../bigint/index'; import type { TBoolean } from '../boolean/index'; import type { TConstructor } from '../constructor/index'; import type { TDate } from '../date/index'; import type { TEnum } from '../enum/index'; import type { TFunction } from '../function/index'; import type { TInteger } from '../integer/index'; import type { TIntersect } from '../intersect/index'; import type { TIterator } from '../iterator/index'; import type { TLiteral } from '../literal/index'; import type { TNot } from '../not/index'; import type { TNull } from '../null/index'; import type { TNumber } from '../number/index'; import type { TObject } from '../object/index'; import type { TPromise } from '../promise/index'; import type { TRecord } from '../record/index'; import type { TThis } from '../recursive/index'; import type { TRef } from '../ref/index'; import type { TRegExp } from '../regexp/index'; import type { TString } from '../string/index'; import type { TSymbol } from '../symbol/index'; import type { TTemplateLiteral } from '../template-literal/index'; import type { TTuple } from '../tuple/index'; import type { TUint8Array } from '../uint8array/index'; import type { TUndefined } from '../undefined/index'; import type { TUnion } from '../union/index'; import type { TUnknown } from '../unknown/index'; import type { TVoid } from '../void/index'; import type { TSchema } from './schema'; export type TAnySchema = TSchema | TAny | TArray | TAsyncIterator | TBigInt | TBoolean | TConstructor | TDate | TEnum | TFunction | TInteger | TIntersect | TIterator | TLiteral | TNot | TNull | TNumber | TObject | TPromise | TRecord | TRef | TRegExp | TString | TSymbol | TTemplateLiteral | TThis | TTuple | TUndefined | TUnion | TUint8Array | TUnknown | TVoid;