fix formatting. revert type assertion

This commit is contained in:
Alexander T 2019-07-30 14:09:31 +03:00
parent 56dcf920dc
commit f19a9e352b
3 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ namespace ts.server {
readonly data: ProjectInfoTelemetryEventData;
}
/**
/*
* __GDPR__
* "projectInfo" : {
* "${include}": ["${TypeScriptCommonProperties}"],

View File

@ -2883,7 +2883,7 @@ namespace ts.server.protocol {
payload: TypingsInstalledTelemetryEventPayload;
}
/**
/*
* __GDPR__
* "typingsinstalled" : {
* "${include}": ["${TypeScriptCommonProperties}"],

View File

@ -291,8 +291,8 @@ namespace Harness.Parallel.Host {
worker.accumulatedOutput += d.toString();
console.log(`[Worker ${i}]`, d.toString());
};
worker.process.stderr.on("data", appendOutput);
worker.process.stdout.on("data", appendOutput);
worker.process.stderr!.on("data", appendOutput);
worker.process.stdout!.on("data", appendOutput);
const killChild = (timeout: TaskTimeout) => {
worker.process.kill();
console.error(`Worker exceeded ${timeout.duration}ms timeout ${worker.currentTasks && worker.currentTasks.length ? `while running test '${worker.currentTasks[0].file}'.` : `during test setup.`}`);