Home
they [recommend](https://docs.deno.com/runtime/manual/advanced/typescript/types#type-checking-web-workers) using triple-slash directives for that. except > The one disadvantage of this, is that it makes the code less portable to other non-Deno platforms like tsc, as it is only Deno which has the "deno.worker" library built into it. ok whatever lets just use ts's default `webworker` i guess? nope! they are not fucking available when publishing to jsr!! > triple slash directives that modify globals (for example, `/// <reference no-default-lib="true" />` or `/// <reference lib="dom" />`) are not allowed. Instead instruct the user of your package to specify these directives. file:///worker.ts:1:1 what the fuck duh