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/subdir | |
| 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/subdir')
| -rw-r--r-- | tests/subdir/bench_worker.ts | 2 | ||||
| -rw-r--r-- | tests/subdir/test_worker.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/subdir/bench_worker.ts b/tests/subdir/bench_worker.ts index 6dd2f9541..094cefb80 100644 --- a/tests/subdir/bench_worker.ts +++ b/tests/subdir/bench_worker.ts @@ -1,4 +1,4 @@ -onmessage = function(e) { +onmessage = function(e): void { const { cmdId, action, data } = e.data; switch (action) { case 0: // Static response diff --git a/tests/subdir/test_worker.ts b/tests/subdir/test_worker.ts index 53d38ba96..c8109d131 100644 --- a/tests/subdir/test_worker.ts +++ b/tests/subdir/test_worker.ts @@ -1,4 +1,4 @@ -onmessage = function(e) { +onmessage = function(e): void { console.log(e.data); postMessage(e.data); |
