diff --git a/.changeset/blue-knives-collect.md b/.changeset/blue-knives-collect.md new file mode 100644 index 000000000000..06ceae786d9a --- /dev/null +++ b/.changeset/blue-knives-collect.md @@ -0,0 +1,5 @@ +--- +'@astrojs/image': patch +--- + +Fix import.meta.env not being available when using the image integration's types diff --git a/packages/integrations/image/client.d.ts b/packages/integrations/image/client.d.ts index 5809298ab4a1..cafec4184c65 100644 --- a/packages/integrations/image/client.d.ts +++ b/packages/integrations/image/client.d.ts @@ -1,3 +1,5 @@ +/// + type InputFormat = 'avif' | 'gif' | 'heic' | 'heif' | 'jpeg' | 'jpg' | 'png' | 'tiff' | 'webp'; interface ImageMetadata {