summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Arsh <69170106+lilnasy@users.noreply.github.com> 2023-11-09 15:23:19 +0000
committerGravatar GitHub <noreply@github.com> 2023-11-09 15:23:19 +0000
commitbd2d494c04ca48c6a496078b650e3c49bf243390 (patch)
treec0faec39d21cb9e5cc0bb0b9bc57fad7ded04354
parent4e9f171ef2a900b87dceb5d314733aae46cf63c9 (diff)
downloadastro-bd2d494c04ca48c6a496078b650e3c49bf243390.tar.gz
astro-bd2d494c04ca48c6a496078b650e3c49bf243390.tar.zst
astro-bd2d494c04ca48c6a496078b650e3c49bf243390.zip
fix(config types): routingStrategy is optional (#9034)
-rw-r--r--packages/astro/src/@types/astro.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts
index 7f7e497b9..597043d49 100644
--- a/packages/astro/src/@types/astro.ts
+++ b/packages/astro/src/@types/astro.ts
@@ -1525,7 +1525,7 @@ export interface AstroUserConfig {
*
* Note: Astro requires all content to exist within a `/[lang]/` folder, even for the default language.
*/
- routingStrategy: 'prefix-always' | 'prefix-other-locales';
+ routingStrategy?: 'prefix-always' | 'prefix-other-locales';
};
};
}