feat: add astro-check
This commit is contained in:
parent
6c7c305fe1
commit
4dd699f08c
4 changed files with 581 additions and 3 deletions
|
|
@ -4,7 +4,9 @@ import FormattedDate from "../components/FormattedDate.astro";
|
|||
import BaseLayout from "./BaseLayout.astro";
|
||||
import { Picture } from "astro:assets";
|
||||
|
||||
type Props = CollectionEntry<"blog">["data"];
|
||||
type Props = CollectionEntry<"blog">["data"] & {
|
||||
readingTime: number;
|
||||
};
|
||||
|
||||
const { title, description, pubDate, updatedDate, heroImage, readingTime } =
|
||||
Astro.props;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue