mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Expose ContentConfig
type from astro:content
(#9840)
* Expose `ContentConfig` type from `astro:content` * Add changeset
This commit is contained in:
parent
a407eb5ac2
commit
70fdf1a5c6
2 changed files with 6 additions and 1 deletions
5
.changeset/famous-seas-press.md
Normal file
5
.changeset/famous-seas-press.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Expose `ContentConfig` type from `astro:content`
|
2
packages/astro/content-types.template.d.ts
vendored
2
packages/astro/content-types.template.d.ts
vendored
|
@ -183,5 +183,5 @@ declare module 'astro:content' {
|
||||||
|
|
||||||
type AnyEntryMap = ContentEntryMap & DataEntryMap;
|
type AnyEntryMap = ContentEntryMap & DataEntryMap;
|
||||||
|
|
||||||
type ContentConfig = '@@CONTENT_CONFIG_TYPE@@';
|
export type ContentConfig = '@@CONTENT_CONFIG_TYPE@@';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue