ThomasAribart / json-schema-to-ts

Infer TS types from JSON schemas 📝
MIT License
1.47k stars 31 forks source link

support of nullable keyword. #36

Closed vikasg603 closed 3 years ago

vikasg603 commented 3 years ago

As we know, AJV by default support nullable: true property. But if we try the same in FromSchema, it's not working.

Is there any way we can work with this?

vikasg603 commented 3 years ago

Created the pull request, just merge it with. https://github.com/ThomasAribart/json-schema-to-ts/pull/37