react-i18next 11.16.10 → 11.16.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/ts4.1/index.d.ts +4 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/ts4.1/index.d.ts
CHANGED
|
@@ -368,7 +368,10 @@ export interface I18nextProviderProps {
|
|
|
368
368
|
export const I18nextProvider: React.FunctionComponent<I18nextProviderProps>;
|
|
369
369
|
export const I18nContext: React.Context<{ i18n: i18n }>;
|
|
370
370
|
|
|
371
|
-
export interface TranslationProps<
|
|
371
|
+
export interface TranslationProps<
|
|
372
|
+
N extends Namespace = DefaultNamespace,
|
|
373
|
+
TKPrefix extends KeyPrefix<N> = undefined
|
|
374
|
+
> {
|
|
372
375
|
children: (
|
|
373
376
|
t: TFunction<N, TKPrefix>,
|
|
374
377
|
options: {
|