From 8e18bebdd582884c886a92db58f38d75907ee5cc Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 5 Jul 2019 21:12:54 +0300 Subject: [PATCH] fix eslint errors after merge --- src/compiler/checker.ts | 2 +- src/testRunner/parallel/host.ts | 4 ++-- src/testRunner/unittests/jsDocParsing.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 03ae2412519..bade1197018 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -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) { diff --git a/src/testRunner/parallel/host.ts b/src/testRunner/parallel/host.ts index 9f602213a30..33d5461cbab 100644 --- a/src/testRunner/parallel/host.ts +++ b/src/testRunner/parallel/host.ts @@ -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.`}`); diff --git a/src/testRunner/unittests/jsDocParsing.ts b/src/testRunner/unittests/jsDocParsing.ts index 5cfb842b164..117e8b51a66 100644 --- a/src/testRunner/unittests/jsDocParsing.ts +++ b/src/testRunner/unittests/jsDocParsing.ts @@ -317,7 +317,7 @@ namespace ts { * @see {@link second link text} and {@link Foo|a foo} as well. */`); parsesCorrectly("authorTag", -`/** + `/** * @author John Doe * @author John Doe unexpected comment */`);