diff --git a/index.d.ts b/index.d.ts index 43e8526f..310b48f3 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 9e0b13c6..cb6744c0 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; }