Búsqueda de sitios web

typescript - Cómo ejecutar typedoc para Angular CLI


Cuando ejecuto el siguiente comando:

typedoc --out ./docs --mode file --target ES6 ./src/

da los siguientes resultados:

Using TypeScript 3.7.4 from /usr/lib/node_modules/typedoc/node_modules/typescript/lib
Error: /home/ersincebi/Masaüstü/projects/ANGULAR/whentheringbells/node_modules/@types/node/index.d.ts(72)
 Duplicate identifier 'IteratorResult'.
Error: /home/ersincebi/Masaüstü/projects/ANGULAR/whentheringbells/src/app/services/course/course-service.service.ts(15)
 Spread types may only be created from object types.
Error: /home/ersincebi/Masaüstü/projects/ANGULAR/whentheringbells/src/app/services/course/course-service.service.ts(36)
Error: /usr/lib/node_modules/typedoc/node_modules/typescript/lib/lib.es2015.iterable.d.ts(40)
 Duplicate identifier 'IteratorResult'.

Intenté actualizar npm, typescript y angular a la última versión, pero todavía da el mismo resultado.