Moved module declaration for linting

This commit is contained in:
Olivier Demers 2023-03-16 12:09:04 -04:00
parent 0e9e6b6177
commit 40379bbbef
2 changed files with 9 additions and 9 deletions

9
global.d.ts vendored
View File

@ -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;
}

9
src/app.d.ts vendored
View File

@ -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;
}
}
}