summaryrefslogtreecommitdiff
path: root/tests/subdir
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-04-21 16:40:10 -0400
committerGitHub <noreply@github.com>2019-04-21 16:40:10 -0400
commit9dfebbc9496138efbeedc431068f41662c780f3e (patch)
treec3718c3dc132d11c08c8fc18933daebf886bf787 /tests/subdir
parent6cded14bdf313762956d4d5361cfe8115628b535 (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.ts2
-rw-r--r--tests/subdir/test_worker.ts2
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);