diff --git a/src/index.tsx b/src/index.tsx index fa4bd7c..a0cbdce 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -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 }