Fix image integration's types not referring to the base types for Vite client types (#4534)

This commit is contained in:
Erika 2022-08-29 12:06:41 -03:00 committed by GitHub
parent fc32e2d94c
commit b8a80bc42d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/image': patch
---
Fix import.meta.env not being available when using the image integration's types

View file

@ -1,3 +1,5 @@
/// <reference types="astro/client-base" />
type InputFormat = 'avif' | 'gif' | 'heic' | 'heif' | 'jpeg' | 'jpg' | 'png' | 'tiff' | 'webp';
interface ImageMetadata {