build: type-check worker with isolated globals

This commit is contained in:
sjg
2026-08-01 15:21:16 +02:00
parent 26be675242
commit 3d49839ed5
4 changed files with 34 additions and 2 deletions
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"useUnknownInCatchVariables": true,
"noEmit": true,
"lib": ["ES2022", "WebWorker"],
"types": []
},
"include": ["src/decode-history-worker.ts"]
}