diff --git a/global.d.ts b/global.d.ts deleted file mode 100644 index c92ce70..0000000 --- a/global.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare module '*.jpg?width=600&webp' { - const out: string; - export default out; -} - -declare module '*.png?width=600&webp' { - const out: string; - export default out; -} diff --git a/src/app.d.ts b/src/app.d.ts index f59b884..da8a409 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -6,6 +6,15 @@ declare global { // interface Locals {} // interface PageData {} // interface Platform {} + declare module '*.jpg?width=600&webp' { + const out: string; + export default out; + } + + declare module '*.png?width=600&webp' { + const out: string; + export default out; + } } }