Skip to content

Commit

Permalink
refactor: provide better type for config.interpolation.format
Browse files Browse the repository at this point in the history
  • Loading branch information
MonstraG committed Mar 5, 2024
1 parent d4867bf commit 0cdd2cd
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 0cdd2cd

Please sign in to comment.