Closed
Description
This is my tsconfig.json
setup:
{
"compileOnSave": true,
"compilerOptions": {
"declaration": true,
"sourceMap": true,
"module": "commonjs",
"moduleResolution": "node",
"noImplicitAny": true,
"rootDir": "./src",
"outDir": "./lib",
"preserveConstEnums": true,
"removeComments": true,
"target": "es6",
"typeRoots": ["./node_modules/@types"]
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*-spec.ts"
]
}
I've installed typedoc
as suggested–since I'm using version 2.3.2
:
npm install --save-dev https://github.com/DatenMetzgerX/typedoc/tarball/typescript-2-build
But when I get to call typedoc --out dist/docs --mode modules .
through a npm run script
, I get the following error:
Error: Unknown option `typeRoots.0`.
And I can't actually figure out what is happening since my current config ("typeRoots": ["./node_modules/@types"]
) is valid according to here.
I am new to both TypeScript and typedoc this is more likely to be a mistake of mine than a real problem related to them–then please point and I'll close the issue ASAP 😄 .
Metadata
Metadata
Assignees
Labels
No labels