diff --git a/index.d.ts b/index.d.ts index 43e8526f0..310b48f38 100644 --- a/index.d.ts +++ b/index.d.ts @@ -107,6 +107,7 @@ export function withTranslation( ) => React.ComponentType & WithTranslationProps>; export interface I18nextProviderProps { + children?: React.ReactNode; i18n: i18n; defaultNS?: string; } diff --git a/ts4.1/index.d.ts b/ts4.1/index.d.ts index 9e0b13c65..cb6744c06 100644 --- a/ts4.1/index.d.ts +++ b/ts4.1/index.d.ts @@ -341,6 +341,7 @@ export function withTranslation( ) => React.ComponentType> & WithTranslationProps>; export interface I18nextProviderProps { + children?: React.ReactNode; i18n: i18n; defaultNS?: string; }