Skip to content

Commit

Permalink
Ignore TS 2.0 unsupported options (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilianosantucci authored and blakeembrey committed Oct 18, 2016
1 parent fa87b1c commit 178f68c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
/node_modules/
/typescript/
/coverage/
/lib/
/lib/
6 changes: 5 additions & 1 deletion src/lib/utils/options/sources/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ export class TypeScriptSource extends OptionsComponent
static IGNORED:string[] = [
'out', 'version', 'help',
'watch', 'declaration', 'mapRoot',
'sourceMap', 'inlineSources', 'removeComments'
'sourceMap', 'inlineSources', 'removeComments',
// Ignore new TypeScript 2.0 options until typedoc can't manage it.
'baseUrl', 'paths', 'lib', 'strictNullChecks', 'noImplicitThis',
'traceResolution', 'noUnusedParameters', 'noUnusedLocals',
'skipLibCheck', 'declarationDir', 'types', 'typeRoots'
];


Expand Down

0 comments on commit 178f68c

Please sign in to comment.