mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
fix: inferRemoteSize not being exported in the type (#11500)
This commit is contained in:
parent
53ccd206f9
commit
4e142d38cb
2 changed files with 13 additions and 1 deletions
5
.changeset/cold-ravens-dream.md
Normal file
5
.changeset/cold-ravens-dream.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes inferRemoteSize type not working
|
9
packages/astro/client.d.ts
vendored
9
packages/astro/client.d.ts
vendored
|
@ -70,7 +70,14 @@ declare module 'astro:assets' {
|
|||
export type RemoteImageProps = import('./dist/type-utils.js').Simplify<
|
||||
import('./dist/assets/types.js').RemoteImageProps<ImgAttributes>
|
||||
>;
|
||||
export const { getImage, getConfiguredImageService, imageConfig, Image, Picture }: AstroAssets;
|
||||
export const {
|
||||
getImage,
|
||||
getConfiguredImageService,
|
||||
imageConfig,
|
||||
Image,
|
||||
Picture,
|
||||
inferRemoteSize,
|
||||
}: AstroAssets;
|
||||
}
|
||||
|
||||
type ImageMetadata = import('./dist/assets/types.js').ImageMetadata;
|
||||
|
|
Loading…
Add table
Reference in a new issue