You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[docs] Type generation cannot represent the unresolved conditional and indexed-access types #1800
docsImprovements or additions to the documentation.scope: docs-infraInvolves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).
A generic type alias whose body is a conditional on its own type parameters can't be resolved while generic, so its docs merged every branch. Mosaic's DataGridRowCell, guarded by IsAny<Columns>, showed columnId: any.
#1955 resolves these in the extractor, differently from the displayGenerics proposal in #1342. Instead of showing generics, it picks the branch every caller gets: the condition is checked with each tested type parameter set to its constraint and to never, and when both agree the export resolves to that branch with the constraints substituted. Type parameters the condition doesn't test stay generic, and when no single branch holds the merged rendering is kept.
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
docsImprovements or additions to the documentation.scope: docs-infraInvolves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).
Activity
Janpot commentedon Aug 21, 2026
Closing in favor for #1342
github-actions commentedon Aug 21, 2026
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
github-actions commentedon Dec 1, 2026
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.