0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/forty-trains-notice.md
Florian Lefebvre eb41d13162
feat(next): make defineConfig generic (#12243)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-21 18:26:00 +02:00

311 B

astro
minor

Improves defineConfig type safety. TypeScript will now error if a group of related configuration options do not have consistent types. For example, you will now see an error if your language set for i18n.defaultLocale is not one of the supported locales specified in i18n.locales.