You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.1.7
Typescript version : 2.9.1
Node.js version : v10.15.0
Operating system : Windows 10
Unhandled Rejection at: Promise {
<rejected> TypeError: type.toLowerCase is not a function
at BasicTypeUtil.isJavascriptType (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:985:26)
at BasicTypeUtil.isKnownType (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:1009:21)
at C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4731:38
at Array.map (<anonymous>)
at ClassHelper.stringifyArguments (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4698:14)
at C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4643:59
at arrayEach (C:\git\obg.ngx.packages.core\node_modules\lodash\lodash.js:516:11)
at Function.forEach (C:\git\obg.ngx.packages.core\node_modules\lodash\lodash.js:9344:14)
at ClassHelper.formatDecorators (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4635:11)
at ClassHelper.visitMethodDeclaration (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:5584:38) } reason: TypeError: type.toLowerCase is not a function
at BasicTypeUtil.isJavascriptType (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:985:26)
at BasicTypeUtil.isKnownType (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:1009:21)
at C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4731:38
at Array.map (<anonymous>)
at ClassHelper.stringifyArguments (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4698:14)
at C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4643:59
at arrayEach (C:\git\obg.ngx.packages.core\node_modules\lodash\lodash.js:516:11)
at Function.forEach (C:\git\obg.ngx.packages.core\node_modules\lodash\lodash.js:9344:14)
at ClassHelper.formatDecorators (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:4635:11)
at ClassHelper.visitMethodDeclaration (C:\git\obg.ngx.packages.core\node_modules\@compodoc\compodoc\dist\index-cli.js:5584:38)
Motivation for or Use Case
Consumer would expect that any valid TS syntax is supported by compodoc.
Reproduce the error
Just place the above example in a project and run compodoct
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.
lockbot
locked as resolved and limited conversation to collaborators
Sep 30, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Overview of the issue
The line with
@throttle
breaks because the type will be a Node object and not astring
whenBasicTypeUtil.isJavascriptType
is called with this syntax.Operating System, Node.js, npm, compodoc version(s)
1.1.8
Typescript version : 2.9.1
Node.js version : v10.15.0
Operating system : Windows 10
Angular configuration, a
package.json
file in the root folderhttps://github.com/alan-agius4/ng-mono-repo-starter/blob/master/package.json#L17
Compodoc installed globally or locally ?
Locally
If possible sourcecode of the file where it breaks
https://github.com/compodoc/compodoc/blob/develop/src/utils/basic-type.util.ts#L32
If possible your terminal logs before the error
Motivation for or Use Case
Consumer would expect that any valid TS syntax is supported by compodoc.
Reproduce the error
Just place the above example in a project and run compodoct
The text was updated successfully, but these errors were encountered: