ostrowr / ts-json-validator

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

Support additionalProperties: false #21

Closed rubas closed 4 years ago

rubas commented 4 years ago

It looks like additionalProperties: false is not supported.

Type 'false' is not assignable to type 'SchemaLike | undefined'

ostrowr commented 4 years ago

Thanks! Yeah, I just haven't gotten around to implementing this yet, but will ASAP. PRs also welcome :)

I'm going to close this as a duplicate of #5 but feel free to comment on that with any more context.

ostrowr commented 4 years ago

This should be solved with the PR I just merged; I'll cut another release shortly.