From 9dfebbc9496138efbeedc431068f41662c780f3e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 21 Apr 2019 16:40:10 -0400 Subject: Fix eslint warnings (#2151) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk Co-authored-by: LE GOFF Vincent --- tests/026_workers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/026_workers.ts') diff --git a/tests/026_workers.ts b/tests/026_workers.ts index a7deee217..e001f03e6 100644 --- a/tests/026_workers.ts +++ b/tests/026_workers.ts @@ -1,11 +1,11 @@ const jsWorker = new Worker("./tests/subdir/test_worker.js"); const tsWorker = new Worker("./tests/subdir/test_worker.ts"); -tsWorker.onmessage = e => { +tsWorker.onmessage = (e): void => { console.log("Received ts: " + e.data); }; -jsWorker.onmessage = e => { +jsWorker.onmessage = (e): void => { console.log("Received js: " + e.data); tsWorker.postMessage("Hello World"); -- cgit v1.2.3