Skip to content

Commit

Permalink
Restore tOptions typing needed for the ICU plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev authored Dec 4, 2018
1 parent 458d242 commit ab8188f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,17 @@ export interface I18nextProviderProps {

export const I18nextProvider: React.ComponentClass<I18nextProviderProps>;

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[];
Expand Down

0 comments on commit ab8188f

Please sign in to comment.