ostrowr / ts-json-validator

Let JSON play nicely with Typescript
MIT License
342 stars 7 forks source link

Allow passing options through to Ajv #29

Closed bigpopakap closed 4 years ago

bigpopakap commented 4 years ago

I would like to be able to pass options through to Ajv (here is the doc about the available options. For my particular use case, I want to set verbose: true; removeAdditional: true, allErrors: true

bigpopakap commented 4 years ago

Thanks for the quick response! I just split it up (but I left the package-lock.json change in this PR, if that's ok)