Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit48cbb81

Browse files
authored
Add missing i18n types in gip context (vercel#25363)
## Bug- [x] Related issues linked using `fixes #number`- [ ] Integration tests added## Feature- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.- [ ] Related issues linked using `fixes #number`- [ ] Integration tests added- [ ] Documentation added- [ ] Telemetry added. In case of a feature if it's used or not.## Documentation / Examples- [] Make sure the linting passesRef:vercel#21930
1 parent09a4fad commit48cbb81

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎packages/next/next-server/lib/utils.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,18 @@ export interface NextPageContext {
135135
* `String` of the actual path including query.
136136
*/
137137
asPath?:string
138+
/**
139+
* The currently active locale
140+
*/
141+
locale?:string
142+
/**
143+
* All configured locales
144+
*/
145+
locales?:string[]
146+
/**
147+
* The configured default locale
148+
*/
149+
defaultLocale?:string
138150
/**
139151
* `Component` the tree of the App to use if needing to render separately
140152
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp