diff --git a/packages/next/next-server/lib/utils.ts b/packages/next/next-server/lib/utils.ts index 6af8e33dbdb7f..36adb6359eb33 100644 --- a/packages/next/next-server/lib/utils.ts +++ b/packages/next/next-server/lib/utils.ts @@ -135,6 +135,18 @@ export interface NextPageContext { * `String` of the actual path including query. */ asPath?: string + /** + * The currently active locale + */ + locale?: string + /** + * All configured locales + */ + locales?: string[] + /** + * The configured default locale + */ + defaultLocale?: string /** * `Component` the tree of the App to use if needing to render separately */