fix(website): typecheck failing due to asset import

This commit is contained in:
Elian Doran 2025-09-28 00:27:14 +03:00
parent 9b37708f0c
commit c25f783980
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View File

@ -24,4 +24,5 @@ dist-ssr
*.sw?
*.d.ts
!types-assets.d.ts
*.map

9
apps/website/types-assets.d.ts vendored Normal file
View File

@ -0,0 +1,9 @@
declare module "*?raw" {
var content: string;
export default content;
}
declare module "*.svg" {
var path: string;
export default path;
}