From 7679cfb5f9af3cfa0701942bee97ee83a4b212c3 Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Sat, 26 Oct 2024 17:18:57 +0900 Subject: [PATCH] fix: wrong codeblock --- src/content/docs/en/reference/modules/astro-content.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/reference/modules/astro-content.mdx b/src/content/docs/en/reference/modules/astro-content.mdx index b391ae48835d2..c101a1c158ffd 100644 --- a/src/content/docs/en/reference/modules/astro-content.mdx +++ b/src/content/docs/en/reference/modules/astro-content.mdx @@ -329,7 +329,7 @@ const { Content, headings, remarkPluginFrontmatter } = await entry.render(); A string union of all collection names defined in your `src/content/config.*` file. This type can be useful when defining a generic function that accepts any collection name. ```ts -import type { CollectionKey, getCollection } from 'astro:content'; +import { type CollectionKey, getCollection } from 'astro:content'; async function getCollection(collection: CollectionKey) { return getCollection(collection);