UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

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