From 76ac82c2fcea0bdca0bf118c7e937c467e909b65 Mon Sep 17 00:00:00 2001 From: Sachin Ahya <57462397+sachinahya@users.noreply.github.com> Date: Sun, 10 Apr 2022 06:32:18 +0100 Subject: [PATCH] add children prop (#1478) --- 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 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; }