Good time of the day, every body
I created a gulp task that should create tsdocs, that's what it looks like.
'use strict'; var gulp = require('gulp'), helpers = require('../helpers/gulp-helpers')(), plugins = require('gulp-load-plugins')(), env = require('./gulp.env'); function typedoc() { return gulp.src([ 'src/scripts/**/*!(.spec).ts', '!src/scripts/**/*.spec.ts', ...env.settings.typings ]).pipe(plugins.typedoc({ module: 'commonjs', target: 'es5', experimentalDecorators: true, ignoreCompilerErrors: false, version: true, out: 'docs' })).on("error", (error) => { if (error.plugin && error.message) {
When I run it, it fails, with this list of errors:
TypeDoc 0.3.12 Using TypeScript 1.6.2 from /Users//private/cms/node_modules/typedoc/node_modules/typescript/lib [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(84) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(179) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(180) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(181) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(182) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(183) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(184) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(226) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(227) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(228) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(229) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(230) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(471) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(472) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(473) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(474) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(475) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(476) Type expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1836) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1837) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1838) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1838) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1848) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1849) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1850) '=' expected. [11:04:35] /Users//private/cms/typings/main/ambient/node/index.d.ts(1850) '=' expected. [11:04:35] Error in plugin: gulp-typedoc [11:04:35] Failed to generate load TypeDoc project. [11:04:35] 'ts:docs' errored after 889 ms [11:04:35] Error in plugin 'gulp-typedoc' Message: Failed to generate load TypeDoc project.
source share