Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
490 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | const util_1 = require("../../compile/util");
|
---|
4 | const def = {
|
---|
5 | keyword: ["maxContains", "minContains"],
|
---|
6 | type: "array",
|
---|
7 | schemaType: "number",
|
---|
8 | code({ keyword, parentSchema, it }) {
|
---|
9 | if (parentSchema.contains === undefined) {
|
---|
10 | util_1.checkStrictMode(it, `"${keyword}" without "contains" is ignored`);
|
---|
11 | }
|
---|
12 | },
|
---|
13 | };
|
---|
14 | exports.default = def;
|
---|
15 | //# sourceMappingURL=limitContains.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.