diff options
author | 2024-01-27 07:44:37 +0100 | |
---|---|---|
committer | 2024-01-27 06:44:37 +0000 | |
commit | 70fdf1a5c660057152c1ca111dcc89ceda5c8840 (patch) | |
tree | 30b4e582f74edb5e4814b2195fdb5f489fae616a | |
parent | a407eb5ac2f6d0daf5235be6835404c6646c5a4c (diff) | |
download | astro-70fdf1a5c660057152c1ca111dcc89ceda5c8840.tar.gz astro-70fdf1a5c660057152c1ca111dcc89ceda5c8840.tar.zst astro-70fdf1a5c660057152c1ca111dcc89ceda5c8840.zip |
Expose `ContentConfig` type from `astro:content` (#9840)
* Expose `ContentConfig` type from `astro:content`
* Add changeset
-rw-r--r-- | .changeset/famous-seas-press.md | 5 | ||||
-rw-r--r-- | packages/astro/content-types.template.d.ts | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/famous-seas-press.md b/.changeset/famous-seas-press.md new file mode 100644 index 000000000..67d32b257 --- /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 146c52e73..eeeb6cc93 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@@'; } |