Skip to content

Commit

Permalink
refactor: provide better type for config.interpolation.format (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonstraG authored and aralroca committed Apr 8, 2024
1 parent caa3e75 commit 7b50ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface I18nConfig extends NextI18nConfig {
revalidate?: number
pagesInDir?: string
interpolation?: {
format?: Function
format?: (value: TranslationQuery[string], format: any, lang: string | undefined) => string
prefix?: string
suffix?: string
}
Expand Down

0 comments on commit 7b50ec5

Please sign in to comment.