diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-08 20:43:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 11:43:26 +0200 |
commit | 9d71b0ef5b6aa7cfa69be7041c3e8ba7c849e89d (patch) | |
tree | 09e384fe74acd0e3e23aa00e2a6269cacc58661a /cli/tests/subdir | |
parent | 986ad08bce7781e17f98d17d223033a2eb0785af (diff) |
fix: update worker types to better align to lib.dom.d.ts (#7843)
Diffstat (limited to 'cli/tests/subdir')
-rw-r--r-- | cli/tests/subdir/worker_types.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/subdir/worker_types.ts b/cli/tests/subdir/worker_types.ts new file mode 100644 index 000000000..7a651e35a --- /dev/null +++ b/cli/tests/subdir/worker_types.ts @@ -0,0 +1,4 @@ +// eslint-disable-next-line require-await +self.onmessage = async (_msg: MessageEvent) => { + self.postMessage("hello"); +}; |