Urara-Blog/node_modules/.pnpm-store/v3/files/ee/e2633bb69f3fa5f8b8989d85b5b3bbab9749c42ef3d82fc7040a6cf1d12802e2428d28fddea3116050cbd30e4e26a0066e85e3b9b1283b1606a6d33183d9f3
2022-08-14 01:14:53 +08:00

15 lines
No EOL
495 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = require("../../compile/util");
const def = {
keyword: ["maxContains", "minContains"],
type: "array",
schemaType: "number",
code({ keyword, parentSchema, it }) {
if (parentSchema.contains === undefined) {
(0, util_1.checkStrictMode)(it, `"${keyword}" without "contains" is ignored`);
}
},
};
exports.default = def;
//# sourceMappingURL=limitContains.js.map