From 7e2c2c52f9dc76ed4f3dac8494b67417ba9d9c71 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Thu, 1 Feb 2024 16:51:29 +0100 Subject: [PATCH] Fix indentation formatting in types JSDoc (#9927) --- packages/astro/src/@types/astro.ts | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 6481f88be7f2..a7bc0111f5d7 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1725,21 +1725,22 @@ export interface AstroUserConfig { * export default defineConfig({ * site: "https://example.com", * output: "server", // required, with no prerendered pages - * adapter: node({ - * mode: 'standalone', - * }), + * adapter: node({ + * mode: 'standalone', + * }), * i18n: { * defaultLocale: "en", * locales: ["en", "fr", "pt-br", "es"], - * prefixDefaultLocale: false, - * domains: { - * fr: "https://fr.example.com", - * es: "https://example.es" - * }, - * experimental: { - * i18nDomains: true - * } - * }) + * prefixDefaultLocale: false, + * domains: { + * fr: "https://fr.example.com", + * es: "https://example.es", + * }, + * }, + * experimental: { + * i18nDomains: true, + * }, + * }); * ``` * * Both page routes built and URLs returned by the `astro:i18n` helper functions [`getAbsoluteLocaleUrl()`](https://docs.astro.build/en/guides/internationalization/#getabsolutelocaleurl) and [`getAbsoluteLocaleUrlList()`](https://docs.astro.build/en/guides/internationalization/#getabsolutelocaleurllist) will use the options set in `i18n.domains`.