UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

10 lines (9 loc) 330 B
import type { TSchema, SchemaOptions } from '../schema/index.mjs'; import { Kind } from '../symbols/index.mjs'; export interface TBoolean extends TSchema { [Kind]: 'Boolean'; static: boolean; type: 'boolean'; } /** `[Json]` Creates a Boolean type */ export declare function Boolean(options?: SchemaOptions): TBoolean;