diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2019-04-21 16:40:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-21 16:40:10 -0400 |
| commit | 9dfebbc9496138efbeedc431068f41662c780f3e (patch) | |
| tree | c3718c3dc132d11c08c8fc18933daebf886bf787 /tests/026_workers.ts | |
| parent | 6cded14bdf313762956d4d5361cfe8115628b535 (diff) | |
Fix eslint warnings (#2151)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
Diffstat (limited to 'tests/026_workers.ts')
| -rw-r--r-- | tests/026_workers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |
