diff --git a/ts4.1/index.d.ts b/ts4.1/index.d.ts index 44cca098..3f561805 100644 --- a/ts4.1/index.d.ts +++ b/ts4.1/index.d.ts @@ -368,7 +368,10 @@ export interface I18nextProviderProps { export const I18nextProvider: React.FunctionComponent; export const I18nContext: React.Context<{ i18n: i18n }>; -export interface TranslationProps { +export interface TranslationProps< + N extends Namespace = DefaultNamespace, + TKPrefix extends KeyPrefix = undefined +> { children: ( t: TFunction, options: {