Skip to content

Commit

Permalink
Expose ContentConfig type from astro:content (#9840)
Browse files Browse the repository at this point in the history
* Expose `ContentConfig` type from `astro:content`

* Add changeset
  • Loading branch information
delucis committed Jan 27, 2024
1 parent a407eb5 commit 70fdf1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-seas-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Expose `ContentConfig` type from `astro:content`
2 changes: 1 addition & 1 deletion packages/astro/content-types.template.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,5 @@ declare module 'astro:content' {

type AnyEntryMap = ContentEntryMap & DataEntryMap;

type ContentConfig = '@@CONTENT_CONFIG_TYPE@@';
export type ContentConfig = '@@CONTENT_CONFIG_TYPE@@';
}

0 comments on commit 70fdf1a

Please sign in to comment.