Skip to content

Commit 8a59579

Browse files
benoitfclaude
andcommitted
fix: reference vite/client types for TypeScript 6 compatibility
TypeScript 6 enables noUncheckedSideEffectImports by default, so side-effect CSS imports need declarations, which vite/client provides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Florent Benoit <fbenoit@redhat.com> Change-Id: Ib12805cb8758b2695f34e13a2ba2d15cb40d6cde
1 parent 97bd557 commit 8a59579

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/app.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
***********************************************************************/
1818

1919
/// <reference types="svelte" />
20+
/// <reference types="vite/client" />
2021

2122
// See https://kit.svelte.dev/docs/types#app
2223
// for information about these interfaces

0 commit comments

Comments
 (0)