-
Notifications
You must be signed in to change notification settings - Fork 202
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
--expose all
breaks generation with generic types.
#2002
Comments
Hey @kelleyk, could you create a minimum reproducible example so that we can debug? |
Sure; sorry if I wasn't clear enough: I think that the It contains the following TypeScript type definintions:
This, without
When I add
Let me know if there's anything else you need! |
ts-json-schema-generator
throws an error when generics are used in combination with --expose all
--expose all
breaks generation with generic types.
hey @kelleyk can you try with |
🚀 Issue was released in |
I'm using the latest release (v2.3.0) of
ts-json-schema-generator
.While trying to get it running on my project, I ran into the following somewhat opaque error:
Using the
generic-simple
test input, I think that I've narrowed down the things that trigger the error. In particular, the generator runs without error when the input does not contain generic TypeScript types and the--expose all
command-line parameter is present, or vice versa; but that error is thrown when both are present.I couldn't find any other issues that seem similar.
The text was updated successfully, but these errors were encountered: