build: add typescript module declaration for vite-imagetools imports
This commit is contained in:
parent
3fd8929186
commit
f9d6c8e4dc
1 changed files with 10 additions and 0 deletions
10
env.d.ts
vendored
10
env.d.ts
vendored
|
@ -1 +1,11 @@
|
|||
/// <reference types="vite/client" />
|
||||
|
||||
declare module "*&imagetools" {
|
||||
/**
|
||||
* actual types
|
||||
* - code https://github.com/JonasKruckenberg/imagetools/blob/main/packages/core/src/output-formats.ts
|
||||
* - docs https://github.com/JonasKruckenberg/imagetools/blob/main/docs/guide/getting-started.md#metadata
|
||||
*/
|
||||
const out;
|
||||
export default out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue