fix(frontend): additional type error fixes

- SearchView.svelte: Fix async onMount pattern to properly return cleanup
- vite.config.js: Add ts-nocheck to suppress Node.js global errors

Reduces npm run check errors from 42 to 40.
This commit is contained in:
vicrodh committed 2026-02-15 16:29:57 -06:00
1 parent 8becf36842
commit e7d617d46d
2 files changed
+23 -17

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
// @ts-nocheck - Node.js globals used in vite config
import { defineConfig } from "vite";
import { sveltekit } from "@sveltejs/kit/vite";
// @ts-expect-error process is a nodejs global
const host = process.env.TAURI_DEV_HOST;
// https://vite.dev/config/