Create function to calculate the new width and height of an image
This commit is contained in:
5
astro/src/types/common/images.d.ts
vendored
5
astro/src/types/common/images.d.ts
vendored
@@ -3,3 +3,8 @@ type PhotoProps = {
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
type ResizedImageResponse = {
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user