Skip to content

Commit 0db52ec

Browse files
committed
Fix harness types
1 parent 459196b commit 0db52ec

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/harness/harnessIO.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -304,21 +304,21 @@ namespace Harness {
304304

305305
// Additional options not already in ts.optionDeclarations
306306
const harnessOptionDeclarations: ts.CommandLineOption[] = [
307-
{ name: "allowNonTsExtensions", type: "boolean", defaultValueDescription: false },
308-
{ name: "useCaseSensitiveFileNames", type: "boolean", defaultValueDescription: false },
309-
{ name: "baselineFile", type: "string" },
310-
{ name: "includeBuiltFile", type: "string" },
311-
{ name: "fileName", type: "string" },
312-
{ name: "libFiles", type: "string" },
313-
{ name: "noErrorTruncation", type: "boolean", defaultValueDescription: false },
314-
{ name: "suppressOutputPathCheck", type: "boolean", defaultValueDescription: false },
315-
{ name: "noImplicitReferences", type: "boolean", defaultValueDescription: false },
316-
{ name: "currentDirectory", type: "string" },
317-
{ name: "symlink", type: "string" },
318-
{ name: "link", type: "string" },
319-
{ name: "noTypesAndSymbols", type: "boolean", defaultValueDescription: false },
307+
{ name: "allowNonTsExtensions", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
308+
{ name: "useCaseSensitiveFileNames", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
309+
{ name: "baselineFile", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
310+
{ name: "includeBuiltFile", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
311+
{ name: "fileName", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
312+
{ name: "libFiles", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
313+
{ name: "noErrorTruncation", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
314+
{ name: "suppressOutputPathCheck", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
315+
{ name: "noImplicitReferences", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
316+
{ name: "currentDirectory", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
317+
{ name: "symlink", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
318+
{ name: "link", type: "string", category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
319+
{ name: "noTypesAndSymbols", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
320320
// Emitted js baseline will print full paths for every output file
321-
{ name: "fullEmitPaths", type: "boolean", defaultValueDescription: false },
321+
{ name: "fullEmitPaths", type: "boolean", defaultValueDescription: false, category: ts.Diagnostics.ALL_COMPILER_OPTIONS },
322322
];
323323

324324
let optionsIndex: ts.ESMap<string, ts.CommandLineOption>;

0 commit comments

Comments
 (0)