Skip to content

Commit 297e13d

Browse files
Henry MyersGerrit0
authored andcommitted
Add emitDeclarationOnly to ignored tsconfig options
1 parent 75aba84 commit 297e13d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ To compile the TypeDoc source, run `npm run build`. This will start the TypeScri
101101

102102
#### Testing
103103

104-
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`.
104+
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`.
105105

106106
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.
107107

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class TypeScriptSource extends OptionsComponent {
1919
* A list of all TypeScript parameters that should be ignored.
2020
*/
2121
static IGNORED: string[] = [
22-
'out', 'version', 'help',
22+
'out', 'version', 'help', 'emitDeclarationOnly',
2323
'watch', 'declaration', 'declarationDir', 'declarationMap', 'mapRoot',
2424
'sourceMap', 'inlineSources', 'removeComments'
2525
];

0 commit comments

Comments
 (0)