Closed mabdrew closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
same for me
This issue has been automatically closed because it has not had recent activity. Please file a new issue if you are encountering a similar or related problem. Thank you for your contributions.
Overview of the issue
Whenever I run the
build:docs
script below. CompoDoc will fail, saying it cannot parse routing files.Command:
npm run build:docs
which just runsnpx compodoc -p tsconfig.json
This parsing errors occurs if a route has a
data
member with a field assigned to a lambda, or a member function. Assigning a field ondata
to a function defined earlier in the file seems to work fine, though.Operating System, Node.js, npm, compodoc version(s)
NPM: 6.14.5 Node: v10.16.2 OS: Win10 CompoDoc: 1.1.11
Angular configuration, a
package.json
file in the root folderCompodoc installed globally or locally ?
Locally
If possible sourcecode of the file where it breaks
Below is an example route that breaks compodocs
It also breaks if
func
is defined as a function and not a member field assigned to a lambdaInterestingly enough, if
func
is assigned to a free floating function, the doc generation does not breakMotivation for or Use Case
It breaks our compo doc generation.
Reproduce the error
Create a route with member assigned to a lambda, or a member function, on the
data
field