Skip to content

Commit

Permalink
Fix image integration's types not referring to the base types for Vit…
Browse files Browse the repository at this point in the history
…e client types (#4534)
  • Loading branch information
Princesseuh authored Aug 29, 2022
1 parent fc32e2d commit b8a80bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-knives-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/image': patch
---

Fix import.meta.env not being available when using the image integration's types
2 changes: 2 additions & 0 deletions packages/integrations/image/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="astro/client-base" />

type InputFormat = 'avif' | 'gif' | 'heic' | 'heif' | 'jpeg' | 'jpg' | 'png' | 'tiff' | 'webp';

interface ImageMetadata {
Expand Down

0 comments on commit b8a80bc

Please sign in to comment.