fix eslint errors after merge

This commit is contained in:
Alexander 2019-07-05 21:12:54 +03:00
parent 45f8dc97d3
commit 8e18bebdd5
3 changed files with 4 additions and 4 deletions

View file

@ -15066,7 +15066,7 @@ namespace ts {
}
diagnostic = !noImplicitAny ? Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage :
wideningKind === WideningKind.GeneratorYield ? Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type :
Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;
Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;
break;
case SyntaxKind.MappedType:
if (noImplicitAny) {

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.`}`);

View file

@ -317,7 +317,7 @@ namespace ts {
* @see {@link second link text} and {@link Foo|a foo} as well.
*/`);
parsesCorrectly("authorTag",
`/**
`/**
* @author John Doe <john.doe@example.com>
* @author John Doe <john.doe@example.com> unexpected comment
*/`);