UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

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