Skip to content

Commit

Permalink
Fix typescript interface
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypa committed Aug 26, 2024
1 parent 0202552 commit fcc9e20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/Image.astro
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
import type { HTMLAttributes } from 'astro/types';
import { findImage } from '~/utils/images';
import {
getImagesOptimized,
astroAsseetsOptimizer,
unpicOptimizer,
isUnpicCompatible,
type ImageProps,
type AttributesProps,
} from '~/utils/images-optimization';
type Props = ImageProps;
type ImageType = {
src: string;
attributes: AttributesProps;
attributes: HTMLAttributes<'img'>;
};
const props = Astro.props;
Expand Down

0 comments on commit fcc9e20

Please sign in to comment.