Closed
Description
I'm using typedoc 0.12.0, typescript 3.1.1 with Angular 7.0.0 rc.0 and angular-cli 7.0.0-beta.4
I have an Angular library built with the standard method using angular-cli library features.
I want to generare the doc of my lib running:
typedoc --out ./docs/typedoc --mode file --target ES6 --exclude **/*.spec.ts ./projects/ks89/angular-modal-gallery
but I receive this error:
> typedoc --out ./docs/typedoc --mode file --target ES6 --exclude **/*.spec.ts ./projects/ks89/angular-modal-gallery
Using TypeScript 3.0.3 from /Users/ks89/git/angular-modal-gallery/node_modules/typedoc/node_modules/typescript/lib
Error: /Users/ks89/git/angular-modal-gallery/node_modules/@angular/core/src/application_init.d.ts(21)
Initializers are not allowed in ambient contexts.
Error: /Users/ks89/git/angular-modal-gallery/node_modules/@angular/core/src/ivy_switch/compiler/ivy_switch_on.d.ts(11)
A 'const' initializer in an ambient context must be a string or numeric literal.
Error: /Users/ks89/git/angular-modal-gallery/node_modules/@angular/core/src/ivy_switch/compiler/legacy.d.ts(18)
A 'const' initializer in an ambient context must be a string or numeric literal.
Error: /Users/ks89/git/angular-modal-gallery/node_modules/@angular/core/src/linker/query_list.d.ts(33)
Initializers are not allowed in ambient contexts.
Do you have any suggestions?
Metadata
Metadata
Assignees
Labels
No labels