Skip to content

Commit a76133b

Browse files
committed
docs: update usage
1 parent 01a9d60 commit a76133b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A Javascript object validator for tiny schemas.
1515
#### How to use
1616

1717
```js
18-
const Validate = require('@mrbrunelli/object-validator')
18+
const Validate = require('@mrbrunelli/object-validator').default
1919

2020
const objectExample = {
2121
foo: {

0 commit comments

Comments
 (0)