diff --git a/Gulpfile.ts b/Gulpfile.ts index bff83fcbff6..e95ca3ca699 100644 --- a/Gulpfile.ts +++ b/Gulpfile.ts @@ -890,7 +890,7 @@ gulp.task(loggedIOJsPath, false, [], (done) => { const temp = path.join(builtLocalDirectory, "temp"); mkdirP(temp, (err) => { if (err) { console.error(err); done(err); process.exit(1); }; - exec(host, [LKGCompiler, "--outdir", temp, loggedIOpath], () => { + exec(host, [LKGCompiler, "--types --outdir", temp, loggedIOpath], () => { fs.renameSync(path.join(temp, "/harness/loggedIO.js"), loggedIOJsPath); del(temp).then(() => done(), done); }, done); @@ -911,8 +911,8 @@ gulp.task(instrumenterJsPath, false, [servicesFile], () => { .pipe(gulp.dest(".")); }); -gulp.task("tsc-instrumented", "Builds an instrumented tsc.js", [loggedIOJsPath, instrumenterJsPath, servicesFile], (done) => { - exec(host, [instrumenterJsPath, "record", "iocapture", builtLocalDirectory, compilerFilename], done, done); +gulp.task("tsc-instrumented", "Builds an instrumented tsc.js", ["local", loggedIOJsPath, instrumenterJsPath, servicesFile], (done) => { + exec(host, [instrumenterJsPath, "record", "iocapture", builtLocalCompiler], done, done); }); gulp.task("update-sublime", "Updates the sublime plugin's tsserver", ["local", serverFile], () => { diff --git a/Jakefile.js b/Jakefile.js index 0b294597574..841d3cdb653 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -1054,7 +1054,7 @@ var loggedIOJsPath = builtLocalDirectory + 'loggedIO.js'; file(loggedIOJsPath, [builtLocalDirectory, loggedIOpath], function () { var temp = builtLocalDirectory + 'temp'; jake.mkdirP(temp); - var options = "--outdir " + temp + ' ' + loggedIOpath; + var options = "--types --outdir " + temp + ' ' + loggedIOpath; var cmd = host + " " + LKGDirectory + compilerFilename + " " + options + " "; console.log(cmd + "\n"); var ex = jake.createExec([cmd]); diff --git a/src/harness/loggedIO.ts b/src/harness/loggedIO.ts index 33a46450a17..07dbf4a4e1c 100644 --- a/src/harness/loggedIO.ts +++ b/src/harness/loggedIO.ts @@ -1,6 +1,8 @@ /// /// +/// /// +/// interface FileInformation { contents: string;