Skip to content

best way to save what you love

web/tsconfig: add webworker lib

wukko0a8323be54c8
diff --git a/web/tsconfig.json b/web/tsconfig.json
index 52b33f5e..3ee0d63e 100644
--- a/web/tsconfig.json
+++ b/web/tsconfig.json
@@ -10,7 +10,8 @@
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler",
- "types": ["turnstile-types"]
+ "types": ["turnstile-types"],
+ "lib": ["WebWorker"]
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files