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 Mar 5, 2024
1 parent d4867bf commit b137ef6
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 b137ef6

Please sign in to comment.