Skip to content

Commit

Permalink
Fix missing TransWithoutContext type (#1671) (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertury committed Sep 3, 2023
1 parent db65d47 commit 0118b36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ import type {
KeyPrefix,
} from 'i18next';
import * as React from 'react';
export { Trans, TransProps } from './TransWithoutContext';
import { Trans, TransProps } from './TransWithoutContext';
export { initReactI18next } from './initReactI18next';

export const TransWithoutContext: typeof Trans;
export { Trans, TransProps }

export function setDefaults(options: ReactOptions): void;
export function getDefaults(): ReactOptions;
export function setI18n(instance: i18n): void;
Expand Down

0 comments on commit 0118b36

Please sign in to comment.