From eb584de1f5796aff6d487ec0c165bfb8a1a978b6 Mon Sep 17 00:00:00 2001 From: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:52:52 +0000 Subject: [PATCH] Move i18n config above legacy (#9318) --- packages/astro/src/@types/astro.ts | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index fb623d8c20f7..9961d7a71032 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1359,17 +1359,7 @@ export interface AstroUserConfig { /** * @docs - * @kind heading - * @name Legacy Flags - * @description - * To help some users migrate between versions of Astro, we occasionally introduce `legacy` flags. - * These flags allow you to opt in to some deprecated or otherwise outdated behavior of Astro - * in the latest version, so that you can continue to upgrade and take advantage of new Astro releases. - */ - legacy?: object; - - /** - * @docs + * @kind heading * @name i18n * @type {object} * @version 3.5.0 @@ -1480,6 +1470,17 @@ export interface AstroUserConfig { }; }; + /** + * @docs + * @kind heading + * @name Legacy Flags + * @description + * To help some users migrate between versions of Astro, we occasionally introduce `legacy` flags. + * These flags allow you to opt in to some deprecated or otherwise outdated behavior of Astro + * in the latest version, so that you can continue to upgrade and take advantage of new Astro releases. + */ + legacy?: object; + /** * @docs * @kind heading