Skip to content

Commit 178f68c

Browse files
emilianosantucciblakeembrey
authored andcommitted
Ignore TS 2.0 unsupported options (#308)
1 parent fa87b1c commit 178f68c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
/node_modules/
1616
/typescript/
1717
/coverage/
18-
/lib/
18+
/lib/

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ export class TypeScriptSource extends OptionsComponent
1616
static IGNORED:string[] = [
1717
'out', 'version', 'help',
1818
'watch', 'declaration', 'mapRoot',
19-
'sourceMap', 'inlineSources', 'removeComments'
19+
'sourceMap', 'inlineSources', 'removeComments',
20+
// Ignore new TypeScript 2.0 options until typedoc can't manage it.
21+
'baseUrl', 'paths', 'lib', 'strictNullChecks', 'noImplicitThis',
22+
'traceResolution', 'noUnusedParameters', 'noUnusedLocals',
23+
'skipLibCheck', 'declarationDir', 'types', 'typeRoots'
2024
];
2125

2226

0 commit comments

Comments
 (0)