-
-
Notifications
You must be signed in to change notification settings - Fork 533
Use unknown instead of any #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the suggestion. Do you have an example of a schema you’re using, what it’s generating, and what you’d like it to be instead? Also would you be open to opening a PR for this? |
One example is a schema I have with the following property somewhere:
This gets transformed into:
The use of
See also eslint (which is complaining about
which really is the essence I think. :) |
Thanks for providing more info. I also see that #625 was opened to address this. If it’s all the same to people, I don’t see why |
Added in #769! |
It would be great if the resulting ts would not use
any
butunknown
instead.The text was updated successfully, but these errors were encountered: