diff --git a/.changeset/famous-seas-press.md b/.changeset/famous-seas-press.md new file mode 100644 index 0000000000..67d32b2577 --- /dev/null +++ b/.changeset/famous-seas-press.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Expose `ContentConfig` type from `astro:content` diff --git a/packages/astro/content-types.template.d.ts b/packages/astro/content-types.template.d.ts index 146c52e73e..eeeb6cc934 100644 --- a/packages/astro/content-types.template.d.ts +++ b/packages/astro/content-types.template.d.ts @@ -183,5 +183,5 @@ declare module 'astro:content' { type AnyEntryMap = ContentEntryMap & DataEntryMap; - type ContentConfig = '@@CONTENT_CONFIG_TYPE@@'; + export type ContentConfig = '@@CONTENT_CONFIG_TYPE@@'; }