UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

9 lines (8 loc) 302 B
import type { TSchema, SchemaOptions } from '../schema/index'; import { Kind } from '../symbols/index'; export interface TUnknown extends TSchema { [Kind]: 'Unknown'; static: unknown; } /** `[Json]` Creates an Unknown type */ export declare function Unknown(options?: SchemaOptions): TUnknown;