Skip to content

Commit

Permalink
Make _nextI18Next optional for next@12.3, fixes i18next#1944
Browse files Browse the repository at this point in the history
This change is to allow compatibility for next@12.3
  • Loading branch information
gazs committed Sep 12, 2022
1 parent a6affe3 commit e40ac97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type CreateClientReturn = {
}

export type SSRConfig = {
_nextI18Next: {
_nextI18Next?: {
initialI18nStore: any
initialLocale: string
ns: string[]
Expand Down

0 comments on commit e40ac97

Please sign in to comment.