summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/seven-rice-exercise.md5
-rw-r--r--packages/astro/src/@types/astro.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/seven-rice-exercise.md b/.changeset/seven-rice-exercise.md
new file mode 100644
index 000000000..2e2d62b59
--- /dev/null
+++ b/.changeset/seven-rice-exercise.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fixes the user-facing type of the new `i18n.routing.fallbackType` option to be optional
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts
index 0b4f7c0ef..9087858f1 100644
--- a/packages/astro/src/@types/astro.ts
+++ b/packages/astro/src/@types/astro.ts
@@ -1703,7 +1703,7 @@ export interface AstroUserConfig {
* })
* ```
*/
- fallbackType: 'redirect' | 'rewrite';
+ fallbackType?: 'redirect' | 'rewrite';
/**
* @name i18n.routing.strategy