fix: use CollectionEntry type where possible
This commit is contained in:
parent
aa26e7cd55
commit
82b68b9f11
8 changed files with 107 additions and 104 deletions
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
import { Image } from "astro:assets";
|
||||
import type { CollectionEntry } from "astro:content";
|
||||
|
||||
interface Props {
|
||||
interval?: number;
|
||||
images: any;
|
||||
images: CollectionEntry<"projects">[];
|
||||
}
|
||||
|
||||
const { interval = 3000, images } = Astro.props;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue