Skip to content
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

Fix OOM error on recursive types #1153

Merged
merged 7 commits into from Dec 26, 2019
Merged

Fix OOM error on recursive types #1153

merged 7 commits into from Dec 26, 2019

Conversation

Gerrit0
Copy link
Collaborator

@Gerrit0 Gerrit0 commented Dec 26, 2019

This fixes the infinite loop we go into from calling TypeChecker#typeToString when trying to convert recursive types by adding a specific converter for indexed access types. I've confirmed that these changes fix generation for the ts-toolbelt repository. Note that this is not a fix for #901, so the types will be rendered as object[(some type)] in the generated HTML

Fixes #1150
Also merges #873

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeDoc out of memory error in 0.15
2 participants