Skip to content

Commit 01fe416

Browse files
committed
generate declarations for tsc
1 parent 97edd27 commit 01fe416

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Jakefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,11 @@ task("generate-diagnostics", [diagnosticInfoMapTs])
371371

372372
// Local target to build the compiler and services
373373
var tscFile = path.join(builtLocalDirectory, compilerFilename);
374-
compileFile(tscFile, compilerSources, [builtLocalDirectory, copyright].concat(compilerSources), [copyright], /*useBuiltCompiler:*/ false);
374+
compileFile(tscFile, compilerSources, [builtLocalDirectory, copyright].concat(compilerSources),
375+
/*prefixes*/ [copyright],
376+
/*useBuiltCompiler*/ false,
377+
/*noOutFile*/ false,
378+
/*generateDeclarations*/ true);
375379

376380
var servicesFile = path.join(builtLocalDirectory, "typescriptServices.js");
377381
var nodePackageFile = path.join(builtLocalDirectory, "typescript.js");

0 commit comments

Comments
 (0)