From 0a8323be54c81600d2a45a2561658d8b63a2a5d2 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 1 Feb 2025 22:49:21 +0600 Subject: [PATCH] web/tsconfig: add webworker lib --- web/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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