summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Arsh <69170106+lilnasy@users.noreply.github.com> 2024-02-07 18:18:09 +0000
committerGravatar GitHub <noreply@github.com> 2024-02-07 23:48:09 +0530
commit3fc76efb2a8faa47edf67562a1f0c84a19be1b33 (patch)
tree400dc21a7b305603735fea7cdaeab50cd498c379
parent20ca3154fb37049cbcd51b06d9fa2ef25ac25a36 (diff)
downloadastro-3fc76efb2a8faa47edf67562a1f0c84a19be1b33.tar.gz
astro-3fc76efb2a8faa47edf67562a1f0c84a19be1b33.tar.zst
astro-3fc76efb2a8faa47edf67562a1f0c84a19be1b33.zip
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>
-rw-r--r--.changeset/cool-walls-fail.md5
-rw-r--r--packages/astro/package.json1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/cool-walls-fail.md b/.changeset/cool-walls-fail.md
new file mode 100644
index 000000000..b72c952e3
--- /dev/null
+++ b/.changeset/cool-walls-fail.md
@@ -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.
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 5222a540c..fe680558e 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -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"