From dd29120eadca81e71d1e62f2b9e606fe28a00ed2 Mon Sep 17 00:00:00 2001 From: Sachin Ahya <57462397+sachinahya@users.noreply.github.com> Date: Sat, 9 Apr 2022 12:30:38 +0100 Subject: [PATCH] add children prop --- index.d.ts | 1 + ts4.1/index.d.ts | 1 + 2 files changed, 2 insertions(+) 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; }