Moved module declaration for linting
This commit is contained in:
parent
0e9e6b6177
commit
40379bbbef
9
global.d.ts
vendored
9
global.d.ts
vendored
@ -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
9
src/app.d.ts
vendored
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user