UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

14 lines (12 loc) 326 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Unknown = void 0; const index_1 = require("../symbols/index"); /** `[Json]` Creates an Unknown type */ function Unknown(options = {}) { return { ...options, [index_1.Kind]: 'Unknown', }; } exports.Unknown = Unknown;