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:
parent
39d330f6f2
commit
80b4a181a0
2 changed files with 6 additions and 1 deletions
5
.changeset/seven-rice-exercise.md
Normal file
5
.changeset/seven-rice-exercise.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes the user-facing type of the new `i18n.routing.fallbackType` option to be optional
|
|
@ -1703,7 +1703,7 @@ export interface AstroUserConfig {
|
|||
* })
|
||||
* ```
|
||||
*/
|
||||
fallbackType: 'redirect' | 'rewrite';
|
||||
fallbackType?: 'redirect' | 'rewrite';
|
||||
|
||||
/**
|
||||
* @name i18n.routing.strategy
|
||||
|
|
Loading…
Add table
Reference in a new issue