Urara-Blog/node_modules/.pnpm-store/v3/files/39/099b38da08929ff46292fc317529984d08139bc333edb5ed6260f890e2c70f6957b8faf5c436a0746c73aa4279c3cd3c2f5f84063b1bd6823c1a61ef859ed3
2022-08-14 01:14:53 +08:00

13 lines
No EOL
446 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = require("../../compile/util");
const def = {
keyword: ["then", "else"],
schemaType: ["object", "boolean"],
code({ keyword, parentSchema, it }) {
if (parentSchema.if === undefined)
(0, util_1.checkStrictMode)(it, `"${keyword}" without "if" is ignored`);
},
};
exports.default = def;
//# sourceMappingURL=thenElse.js.map