Currently, it requires switching between pages back and forth to read a full function signature, due to function types simply linking to their page, which isn't ideal. Suggestions on how to display them can be presented here. A few things to consider:
- How they should be displayed in the bulleted list.
- How they should be displayed in the signature line.
- Types that are used more than once in one page.
- Nested types. A function that takes a function that takes a function...
Related:
- What about on discord? Messages can't have hover popups, and explaining each param of each used function type easily goes over the 2k limit.
- The specs also support table types. Could the solution here be reused for that?
(more things may be added later)
Currently, it requires switching between pages back and forth to read a full function signature, due to function types simply linking to their page, which isn't ideal. Suggestions on how to display them can be presented here. A few things to consider:
Related:
(more things may be added later)