From d62c894f45071e290f4ba9e696b7bd120d2e1acf Mon Sep 17 00:00:00 2001 From: Johnny Nia Date: Sun, 27 Jan 2019 15:08:05 +0100 Subject: [PATCH] Add TS definition for reportNS prop --- src/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.d.ts b/src/index.d.ts index 18e11aac..13871eb8 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -89,6 +89,7 @@ export const NamespacesConsumer: React.ComponentClass; export interface I18nextProviderProps { i18n: i18next.i18n; defaultNS?: string; + reportNS?: (ns: string) => void; initialI18nStore?: {}; initialLanguage?: string; }