mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
fix(website): typecheck failing due to asset import
This commit is contained in:
parent
9b37708f0c
commit
c25f783980
1
apps/website/.gitignore
vendored
1
apps/website/.gitignore
vendored
@ -24,4 +24,5 @@ dist-ssr
|
|||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
*.d.ts
|
*.d.ts
|
||||||
|
!types-assets.d.ts
|
||||||
*.map
|
*.map
|
9
apps/website/types-assets.d.ts
vendored
Normal file
9
apps/website/types-assets.d.ts
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
declare module "*?raw" {
|
||||||
|
var content: string;
|
||||||
|
export default content;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare module "*.svg" {
|
||||||
|
var path: string;
|
||||||
|
export default path;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user