diff --git a/index.d.ts b/index.d.ts index b2d58911..82f1cb97 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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;