From ab8188f16ddcc8742395eddcd33c9ac18c80005e Mon Sep 17 00:00:00 2001 From: Alexander Kachkaev Date: Tue, 4 Dec 2018 09:23:03 +0000 Subject: [PATCH] Restore tOptions typing needed for the ICU plugin --- index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.d.ts b/index.d.ts index fd66d1ecc..18f5eb55f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -100,12 +100,17 @@ export interface I18nextProviderProps { export const I18nextProvider: React.ComponentClass; +export interface TOptions { + [key: string]: any; +} + export interface TransProps { i18nKey?: string; count?: number; parent?: React.ReactNode; i18n?: i18n; t?: TranslationFunction; + tOptions?: TOptions; defaults?: string; values?: {}; components?: React.ReactNode[];