react-i18next 11.8.5 → 11.8.6

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ### 11.8.6
2
+
3
+ - typescript: Updated TS definitions (adding useSuspense option in TranslationProps) [1247](https://github.com/i18next/react-i18next/pull/1247)
4
+
1
5
  ### 11.8.5
2
6
 
3
7
  - typescript: fix: Inference for specific keys ts 4.1 [1230](https://github.com/i18next/react-i18next/pull/1230)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "11.8.5",
3
+ "version": "11.8.6",
4
4
  "description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "src/index.d.ts",
package/src/index.d.ts CHANGED
@@ -122,6 +122,7 @@ export interface TranslationProps {
122
122
  ) => React.ReactNode;
123
123
  ns?: Namespace;
124
124
  i18n?: i18n;
125
+ useSuspense?: boolean;
125
126
  }
126
127
 
127
128
  export function Translation(props: TranslationProps): any;
@@ -225,6 +225,7 @@ export interface TranslationProps<N extends Namespace = DefaultNamespace> {
225
225
  ) => React.ReactNode;
226
226
  ns?: N;
227
227
  i18n?: i18n;
228
+ useSuspense?: boolean;
228
229
  }
229
230
 
230
231
  export function Translation<N extends Namespace = DefaultNamespace>(