* fix: #5979 * Update lazy-plums-sit.md --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
6147479abf
commit
9fdecb5606
2 changed files with 6 additions and 1 deletions
5
.changeset/lazy-plums-sit.md
Normal file
5
.changeset/lazy-plums-sit.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/image': patch
|
||||
---
|
||||
|
||||
Improve type definitions (`background` should be optional)
|
|
@ -47,7 +47,7 @@ export interface PictureComponentRemoteImageProps
|
|||
widths: number[];
|
||||
aspectRatio: TransformOptions['aspectRatio'];
|
||||
formats?: OutputFormat[];
|
||||
background: TransformOptions['background'];
|
||||
background?: TransformOptions['background'];
|
||||
}
|
||||
|
||||
export type ImgHTMLAttributes = HTMLAttributes<'img'>;
|
||||
|
|
Loading…
Reference in a new issue