Skip to content

Commit

Permalink
remove .default from example
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Jun 6, 2021
1 parent 279b191 commit f5bbd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/managing-schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ You can load all schemas and add them to Ajv instance in a single `validation` m
<code-group>
<code-block title="validation.js">
```javascript
const Ajv = require("ajv").default
const Ajv = require("ajv")
const schema_user = require("./schema_user.json")
const schema_document = require("./schema_document.json")
const ajv = exports.ajv = new Ajv()
Expand Down

0 comments on commit f5bbd23

Please sign in to comment.