-
-
Notifications
You must be signed in to change notification settings - Fork 735
@typedef is only displayed as three dots #2454
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
Comments
typedefs will be converted as interfaces -- so long as they are exported. If I copy your example into a JS projects are really annoying to maintain with typedefs since they can't easily re-export types like TS projects can if the entry point doesn't export everything from the sub-module. typedoc-plugin-missing-exports will force typedoc to document that interface even if it isn't exported, but it's better to include it in your entrypoint if possible. |
Hey @Gerrit0, thank you very much! I tested and your suggested plugin works like a charm!
I'm pretty much new to typedoc, but not new to TypeScript and we discussed this issue back and forth: microsoft/TypeScript#46011 For the time being TypeScript is automatically exporting every |
TypeDoc is respecting TypeScript's behavior here -- while |
Search terms
@typedef, three points only, missing documentation for typedef tag
Expected Behavior
I expect that all properties of the given
@typedef
are listed.Alternatively a link to a new file explaining this typedef.
Or simply both - make it an option whether a typedef is inlined or creating a new typedef info file.
Actual Behavior
A full
@typedef
definition is only producing three dots:Steps to reproduce the bug
I use this code:
Environment
Full config and repo: https://github.com/playcanvas/engine/blob/main/package.json
The text was updated successfully, but these errors were encountered: