-
Notifications
You must be signed in to change notification settings - Fork 34
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
Using typedoc option 'disableSources' results runtime error: Cannot read property '0' of undefined #507
Comments
Still actual @rlubke why the issue was closed? |
After disableSources enable, const filename = reflection.sources[0].originalName; reflection does not have sources anymore, caused the error. After I changed to const filename = reflection.originalName; it works with disableSources. (at least works with my source codes) I thought there is a reason to get filename like that way so I changing that code after every npm install. |
christopherthielen
added a commit
that referenced
this issue
Dec 20, 2020
…turns off automatic module name feature) Fixes #507
christopherthielen
added a commit
that referenced
this issue
Dec 20, 2020
…turns off automatic module name feature) Fixes #507
christopherthielen
added a commit
that referenced
this issue
Dec 20, 2020
…turns off automatic module name feature) Fixes #507
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per the summary.
typedoc.json is as follows:
Using version
4.0.3
of the plugin and typedoc0.17.8
.Removing the option results in a successful documentation run.
The text was updated successfully, but these errors were encountered: