summaryrefslogtreecommitdiff
path: root/tests/subdir
diff options
context:
space:
mode:
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);