@sinclair/typebox
Version:
Json Schema Type Builder with Static Type Resolution for TypeScript
9 lines (8 loc) • 310 B
text/typescript
import type { TSchema, SchemaOptions } from '../schema/index.mjs';
import { Kind } from '../symbols/index.mjs';
export interface TUnknown extends TSchema {
[Kind]: 'Unknown';
static: unknown;
}
/** `[Json]` Creates an Unknown type */
export declare function Unknown(options?: SchemaOptions): TUnknown;