Skip to content

Add emitDeclarationOnly to ignored tsconfig options #1104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ To compile the TypeDoc source, run `npm run build`. This will start the TypeScri

#### Testing

TypeDoc includes an extensive set of tests that describe its output. To validate any changes you have made, build the project and then run `npm test`. Alternatively, to rebuild with your changes and then immediately test, run `npm run build`.
TypeDoc includes an extensive set of tests that describe its output. To validate any changes you have made, build the project and then run `npm test`. Alternatively, to rebuild with your changes and then immediately test, run `npm run build_and_test`.

If you have changed the TypeDoc output, it will cause tests to fail. Once you have validated that the introduced changes were intended, run `node scripts/rebuild_specs` to update the spec files for the new output.

Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/options/sources/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class TypeScriptSource extends OptionsComponent {
* A list of all TypeScript parameters that should be ignored.
*/
static IGNORED: string[] = [
'out', 'version', 'help',
'out', 'version', 'help', 'emitDeclarationOnly',
'watch', 'declaration', 'declarationDir', 'declarationMap', 'mapRoot',
'sourceMap', 'inlineSources', 'removeComments'
];
Expand Down