From e92e7139c1ed5265e08c13785306c7e3c5ccda5a Mon Sep 17 00:00:00 2001 From: Jewgeni Lewash Date: Sun, 3 Mar 2024 17:52:28 +0100 Subject: [PATCH] fix: move type import into type-only import --- src/pages/blog/[...slug].astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index a5834b2..c5803af 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -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() {