0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

fix(astro:content): include required type declarations (#10022)

* include types/content.d.ts

* add changeset

* Update .changeset/cool-walls-fail.md

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
Arsh 2024-02-07 18:18:09 +00:00 committed by GitHub
parent 20ca3154fb
commit 3fc76efb2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Fixes a regression where types for the `astro:content` module did not include required exports, leading to typescript errors.

View file

@ -96,6 +96,7 @@
"content-types.template.d.ts",
"content-module.template.mjs",
"astro-jsx.d.ts",
"types/content.d.ts",
"types.d.ts",
"README.md",
"vendor"