Skip to content

Commit

Permalink
Move i18n config above legacy (#9318)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOtterlord authored Dec 5, 2023
1 parent 933f9f2 commit eb584de
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit eb584de

Please sign in to comment.