Skip to content

Commit 3d0dad7

Browse files
committed
Ignore --types and --typeRoots TypeScript compiler configuration options.
Added 'types' and 'typeRoots' to the list of strings ignored by TypeScriptSource. This means TypeDoc will ignore these compiler settings. This is a quick patch for TypeStrong#305 and TypeStrong#311
1 parent fa87b1c commit 3d0dad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils/options/sources/typescript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class TypeScriptSource extends OptionsComponent
1515
*/
1616
static IGNORED:string[] = [
1717
'out', 'version', 'help',
18-
'watch', 'declaration', 'mapRoot',
18+
'watch', 'declaration', 'mapRoot', 'types', 'typeRoots',
1919
'sourceMap', 'inlineSources', 'removeComments'
2020
];
2121

0 commit comments

Comments
 (0)