Describe the problem
There is a problem to import SVG files in SvelteKit:
The problem is that these types should be set before vite/client (https://vitejs.dev/guide/features.html#client-types)
But vite/client is automatically included in generated ambient.d.ts file. And there is no way to write something before:
Describe the proposed solution
Include some file for vite/client overrides in tsconfig.json?
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
Describe the problem
There is a problem to import SVG files in SvelteKit:
The problem is that these types should be set before
vite/client(https://vitejs.dev/guide/features.html#client-types)But
vite/clientis automatically included in generatedambient.d.tsfile. And there is no way to write something before:Describe the proposed solution
Include some file for
vite/clientoverrides in tsconfig.json?Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response