summaryrefslogtreecommitdiff
path: root/.changeset/curvy-foxes-reply.md
blob: 99eb66d6980c4e2aa2b7a6948873247b6d6146b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
---
'astro': minor
---

Move generated content collection types to a `.astro` directory. This replaces the previously generated `src/content/types.generated.d.ts` file.

If you're using Git for version control, we recommend ignoring this generated directory by adding `.astro` to your .gitignore.

Astro will also generate the [TypeScript reference path](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-path-) to include `.astro` types in your project. This will update your project's `src/env.d.ts` file, or write one if none exists.