source: trip-planner-front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 441 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const util_1 = require("../../compile/util");
4const def = {
5 keyword: ["then", "else"],
6 schemaType: ["object", "boolean"],
7 code({ keyword, parentSchema, it }) {
8 if (parentSchema.if === undefined)
9 util_1.checkStrictMode(it, `"${keyword}" without "if" is ignored`);
10 },
11};
12exports.default = def;
13//# sourceMappingURL=thenElse.js.map
Note: See TracBrowser for help on using the repository browser.