fix: move type import into type-only import

This commit is contained in:
Jewgeni Lewash 2024-03-03 17:52:28 +01:00
parent 8be134b83b
commit e92e7139c1

View File

@ -1,5 +1,6 @@
---
import { CollectionEntry, getCollection } from 'astro:content';
import { getCollection } from 'astro:content';
import type { CollectionEntry } from 'astro:content';
import BaseLayout from '@/layouts/BaseLayout.astro';
export async function getStaticPaths() {