diff --git a/components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts b/components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts index a8da1ef8..182969c2 100644 --- a/components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts +++ b/components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts @@ -13,7 +13,6 @@ import type { declare global { // eslint-disable-next-line vars-on-top, no-var var VANTA: VantaObject; - function importScripts(...urls: string[]): void; } let waveEffect: VantaWaves; diff --git a/tsconfig.json b/tsconfig.json index 551ad537..c9ed155b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "incremental": true, "isolatedModules": true, "jsx": "preserve", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": ["dom", "dom.iterable", "esnext", "webworker"], "module": "esnext", "moduleResolution": "node", "noEmit": true,