UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

19 lines 587 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConType = void 0; const AbsType_1 = require("./AbsType"); class ConType extends AbsType_1.AbsType { literal() { return this.schema.value; } getOptions() { // biome-ignore lint: unused variables are intentional const { kind, value, ...options } = this.schema; return options; } toString(tab = '') { return `${super.toString(tab)}${JSON.stringify(this.schema.value)}`; } } exports.ConType = ConType; //# sourceMappingURL=ConType.js.map