-
Notifications
You must be signed in to change notification settings - Fork 721
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
TypeDoc renders main entry point containing only exports default and reexport declarations as empty #596
Comments
Hi @octatone, how are you calling/what are you using for your typedoc configuration. |
via shell: typedoc.js: module.exports = {
mode: "modules",
module: "umd",
target: "ES5",
externalPattern: "node_modules",
excludeExternals: true,
excludePrivate: true
}
I get the same empty output regardless of options or no options (default options). |
From a quick poke around, am I right in thinking this behavior is because typedoc only supports |
I'm guessing this isn't going to be fixed anytime soon? |
And how can the export syntax be changed from ExportDeclaration to ExportAssignment? Any idea? |
This will be fixed by #801 |
Could you set up an example repo showing this problem? The tests for it are passing... seems to be working for me. |
Here's my setup: Only the default export shows up in the documentation: |
Ah, nevermind, explicitly changing it to |
Ah, that makes some sense. Yet another reason coming back to why we need to use the type checker to get this information instead of walking the node tree and trying to figure it out ourselves... Glad you found a workaround for now. |
I have an entry point
index.ts
for my library that contains only an export default and export declarations:When I generate docs via TypeDoc it is an empty file. I would expect it to list what is exported from this module:
The text was updated successfully, but these errors were encountered: