Migrate to typescript

This commit is contained in:
prototypa
2023-01-02 10:51:51 -05:00
parent ba0e67b55f
commit f158d32181
28 changed files with 172 additions and 85 deletions

View File

@@ -1,5 +1,10 @@
---
import Item from '~/components/blog/GridItem.astro';
import type { Post } from '~/utils/posts';
export interface Props {
posts: Array<Post>;
}
const { posts } = Astro.props;
---