Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update the docParser to prevent max call stack errors [skip rel…
…ease] (#2342) Sometimes the doc parser throws an `Maximum call stack exceeded" error. This happens when a type is self-referential, but not exported. Example: ```ts type NestedType = string | number | { foo: NestedType } ``` If `NestedType` is referenced by an exported type, the doc parser will get into a recursive loop. This change adds symbol tracking per export to detect this case and will bail considering `NestedType` to be exported. [category:Documentation]
- Loading branch information