-
Notifications
You must be signed in to change notification settings - Fork 198
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
Maximum call stack size exceeded #2
Comments
Interestingly, if I switch the interfaces to type aliases, I've found:
While the latter is also correct, the former (or the interface formulation currently checked in) provides more useful exported types. |
As with #4, I suspect this is because of the version on NPM. I don't get this error. |
Seeing the same issue when I use the full typings. |
The problem seems to be that we actually need a larger stack.
Works fine. |
After looking at this in more depth, I can't think of a fix that does not involve some non-trivial rewrite of the formatting logic. Please increase the stack size. |
When I try to run
typescript-to-json-schema
against theLegend
union type defined here, I get aMaximum call stack size exceeded
error. Each individual type within the union builds just fine, however.Is there something about my type definitions I should be modifying/simplifying, or is this a bug with
typescript-to-json-schema
?The text was updated successfully, but these errors were encountered: