UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

10 lines (8 loc) 263 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Strict = void 0; /** `[Json]` Omits compositing symbols from this schema. */ function Strict(schema) { return JSON.parse(JSON.stringify(schema)); } exports.Strict = Strict;