Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(assets): Fix misc types issues #8568

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove unnecessary change
Princesseuh committed Sep 15, 2023

Verified

This commit was signed with the committer’s verified signature.
commit 950fbecac06f781725ae491145ca6dd49acdc443
8 changes: 6 additions & 2 deletions packages/astro/client.d.ts
Original file line number Diff line number Diff line change
@@ -60,8 +60,12 @@ declare module 'astro:assets' {
'alt'
>;

export type LocalImageProps = import('./dist/assets/types.js').LocalImageProps<ImgAttributes>;
export type RemoteImageProps = import('./dist/assets/types.js').RemoteImageProps<ImgAttributes>;
export type LocalImageProps = import('./dist/type-utils.js').Simplify<
import('./dist/assets/types.js').LocalImageProps<ImgAttributes>
>;
export type RemoteImageProps = import('./dist/type-utils.js').Simplify<
import('./dist/assets/types.js').RemoteImageProps<ImgAttributes>
>;
export const { getImage, getConfiguredImageService, imageConfig, Image }: AstroAssets;
}