my website at ewancroft.uk
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(types): move Vite globals inside declare global

Move __APP_VERSION__ and __GIT_COMMIT__ declarations inside the
declare global block to fix TypeScript not finding them in Svelte
components.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>

+4 -3
+4 -3
src/app.d.ts
··· 8 8 // interface PageState {} 9 9 // interface Platform {} 10 10 } 11 + 12 + // Vite-defined globals (from vite.config.ts) 13 + const __APP_VERSION__: string; 14 + const __GIT_COMMIT__: string; 11 15 } 12 - 13 - declare const __APP_VERSION__: string; 14 - declare const __GIT_COMMIT__: string; 15 16 16 17 export {};