Dominik Moritz
Dominik Moritz
Have you tried https://github.com/vega/ts-json-schema-generator? It's the generator I actively maintain.
Yeah, it would be nice to support strict null checks. I'd be happy to review a pull request.
I'd say so. It's the generator I maintain (after moving from this one) and we use it for Vega-Lite which is a pretty complex type.
That's a broad statement that I do not support. The test cases are a superset of the tests here: https://github.com/vega/ts-json-schema-generator/tree/next/test/valid-data. Failures are dependent on your use case.
Thank you so much for writing this up @benny-medflyt!
How does this compare with what ts-json-schema-generator does?
As you discovered, this is expected behavior given the Typescript semantics.
Please describe the minimal program you encounter the issue with.
Happy to review PRs for this bug.
Yeah, these should be consistent. Can you send a pull request?