Skip to content

Commit d751849

Browse files
Evgeny PoberezkinTheLarkInn
authored andcommitted
fix(warning): only use keyword instanceof, fixes webpack#3562 (webpack#3566)
* fix(warning): only use keyword instanceof, fixes webpack#3562 * fix styling error
1 parent a403faf commit d751849

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/validateSchema.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var ajv = new Ajv({
88
allErrors: true,
99
verbose: true
1010
});
11-
require("ajv-keywords")(ajv);
11+
require("ajv-keywords")(ajv, ["instanceof"]);
1212

1313
function validateSchema(schema, options) {
1414
if(Array.isArray(options)) {

0 commit comments

Comments
 (0)