mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-15 02:23:02 +01:00
Import ColectionEntry as type
This commit is contained in:
parent
d950a77a53
commit
dd8f5543bb
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
import { CollectionEntry, getCollection } from 'astro:content';
|
import type { CollectionEntry } from 'astro:content';
|
||||||
|
import { getCollection } from 'astro:content';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
filterFn?: (entry: CollectionEntry<'blog'>) => unknown;
|
filterFn?: (entry: CollectionEntry<'blog'>) => unknown;
|
||||||
|
Loading…
Reference in New Issue
Block a user