You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting typescript error with web worker APIs.
TS2339 [ERROR]: Property 'postMessage' does not exist on type 'Window & typeof globalThis'.
self.postMessage(data)
~~~~~~~~~~~
The solution I found that works is adding /// <reference lib="webworker" /> to the top of the file, but this will cause bannedTripleSlashDirectives error during jsr publish
The text was updated successfully, but these errors were encountered:
… worker, iframe) (#1)
* init pnpm workspace with turborepo
* feat: add kkrpc implementation for iframe, web worker, stdio (node, deno)
* refactor: rename web package to iframe-worker-demo
* refactor: move demo api to separate package
* feat: add deno web worker demo
* ci: add tests
* more test, docs update
* add version and license
* fix tests
* try to bypass jsr bannedTripleSlashDirectives error
jsr-io/jsr#836
* ci: fix CI
* ci: add playwright in CI
* ci: fix CI
* ci: disable bun stdio stress test, seems to have deadlock
* ci: rename job
* ci: disable windows CI temporarily which is causing test timeout
* ci: disable e2e test for now
* ci: disable playwright install in CI
I am getting typescript error with web worker APIs.
The solution I found that works is adding
/// <reference lib="webworker" />
to the top of the file, but this will causebannedTripleSlashDirectives
error during jsr publishThe text was updated successfully, but these errors were encountered: