diff options
Diffstat (limited to 'packages/integrations/image/client.d.ts')
-rw-r--r-- | packages/integrations/image/client.d.ts | 16 |
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; +} |