summaryrefslogtreecommitdiff
path: root/packages/integrations/image/client.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/image/client.d.ts')
-rw-r--r--packages/integrations/image/client.d.ts16
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/integrations/image/client.d.ts b/packages/integrations/image/client.d.ts
index cafec4184..71842742a 100644
--- a/packages/integrations/image/client.d.ts
+++ b/packages/integrations/image/client.d.ts
@@ -1,6 +1,16 @@
/// <reference types="astro/client-base" />
-type InputFormat = 'avif' | 'gif' | 'heic' | 'heif' | 'jpeg' | 'jpg' | 'png' | 'tiff' | 'webp';
+type InputFormat =
+ | 'avif'
+ | 'gif'
+ | 'heic'
+ | 'heif'
+ | 'jpeg'
+ | 'jpg'
+ | 'png'
+ | 'tiff'
+ | 'webp'
+ | 'svg';
interface ImageMetadata {
src: string;
@@ -46,3 +56,7 @@ declare module '*.webp' {
const metadata: ImageMetadata;
export default metadata;
}
+declare module '*.svg' {
+ const metadata: ImageMetadata;
+ export default metadata;
+}