UNPKG

juniper

Version:

ESM JSON Schema builder for static Typescript inference.

13 lines (12 loc) 331 B
import { AbstractSchema } from '../lib/schema.js'; export class NeverSchema extends AbstractSchema { static create(options) { return new NeverSchema(options); } toSchema(params) { const base = super.toSchema(params); base.not = {}; return base; } } //# sourceMappingURL=never.js.map