From 40379bbbefc498f04a37941d61594191641722cb Mon Sep 17 00:00:00 2001 From: Olivier Demers Date: Thu, 16 Mar 2023 12:09:04 -0400 Subject: [PATCH] Moved module declaration for linting --- global.d.ts | 9 --------- src/app.d.ts | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 global.d.ts 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; + } } }