-
Notifications
You must be signed in to change notification settings - Fork 690
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
Nested parameter descriptions #987
Comments
@Towerism Tried with |
I produce a really minimal repro cas here, from my findings,
Should print `NestedParameter results but founds nothing. Change in |
Other files (for easier reference):
|
Perfect, I'll do. I just tried the I'll do what you suggested for the smaller repro. One step at a time I guess :0 |
Ok, your suggestions was enlightening. The bug appears when the parameter that we want nested is an union which simple appears to not be the case when With
With strict
A more easily repro case not involving
Would you accept a PR that allow nested parameters to appear if an union type? I would restrict it to union leading to |
I confirm is a complete different bug :$ When trying OP example, it's possible to make it work as expected by removing |
For future reference, new bug issue is #1020 |
Expected Behavior
Based on a previous issue #497 (comment) it appears that nested parameter definitions are supposed to be generated in the html output.
For example, using the same code from that issue:
Is supposed to generate a list of the
options
parameters like the referenced screenshot:Actual Behavior
When I try this same code or anything like it, it never shows the object properties / nested parameters, only
object
.Screenshot:
Steps to reproduce the bug
Using command:
With
tsconfig-typedoc.json
:Example code:
Environment
The text was updated successfully, but these errors were encountered: