-
Notifications
You must be signed in to change notification settings - Fork 692
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
Unexported variables are not removed #1195
Comments
I have the same problem. As temporary workaround you can tag your functions as
Also |
With File mode tells TypeDoc that your source files should be treated as global script files, all declarations in them are implicitly exported. You might be interested in the upcoming library mode, #1184, where TypeDoc builds documentation for only those declarations exported from the input file. You can try it out by installing {
"name": "Orion-facebook",
"inputFiles": ["./src/index.ts"], // Note that this specifies a single file, since otherwise all files are treated as entry points.
"mode": "library",
"out": "docs",
"excludeNotExported": true, // Doesn't do anything in library mode
"excludePrivate": true
} |
Expected Behavior
Not exported variables are not removed
Here's my code.
I thought only
getCurrencyRate
would be generated at doc files since I'd set excludeNotExported to be true. However, the result was shown as below. The other non exported variables are not removed.Actual Behavior
Steps to reproduce the bug
Environment
The text was updated successfully, but these errors were encountered: