Skip to content

Commit

Permalink
Fix type to objectPosition in ImageProps interface
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypa authored Oct 4, 2024
1 parent f97b9cf commit e1c32b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/images-optimization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface ImageProps extends Omit<HTMLAttributes<'img'>, 'src'> {
layout?: Layout;
widths?: number[] | null;
aspectRatio?: string | number | null;
objectPosition?: string | null;
objectPosition?: string;
}

export type ImagesOptimizer = (
Expand Down

0 comments on commit e1c32b5

Please sign in to comment.