diff --git a/.changeset/perfect-games-shop.md b/.changeset/perfect-games-shop.md new file mode 100644 index 000000000000..432b094829b2 --- /dev/null +++ b/.changeset/perfect-games-shop.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Updated `astro/components` exports to a `.ts` file so it's automatically typed diff --git a/packages/astro/components/index.js b/packages/astro/components/index.ts similarity index 100% rename from packages/astro/components/index.js rename to packages/astro/components/index.ts diff --git a/packages/astro/package.json b/packages/astro/package.json index 12fbf678e7a4..ae4499184e0b 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -35,7 +35,7 @@ "./app": "./dist/core/app/index.js", "./app/node": "./dist/core/app/node.js", "./client/*": "./dist/runtime/client/*", - "./components": "./components/index.js", + "./components": "./components/index.ts", "./components/*": "./components/*", "./debug": "./components/Debug.astro", "./internal/*": "./dist/runtime/server/*",