0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

Fix user-facing type for i18n.routing.fallbackType (#11900)

This commit is contained in:
Chris Swithinbank 2024-09-02 13:01:38 +02:00 committed by GitHub
parent 39d330f6f2
commit 80b4a181a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fixes the user-facing type of the new `i18n.routing.fallbackType` option to be optional

View file

@ -1703,7 +1703,7 @@ export interface AstroUserConfig {
* })
* ```
*/
fallbackType: 'redirect' | 'rewrite';
fallbackType?: 'redirect' | 'rewrite';
/**
* @name i18n.routing.strategy