i18next 23.2.1 → 23.2.2

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.
@@ -1 +1 @@
1
- {"type":"module","version":"23.2.1"}
1
+ {"type":"module","version":"23.2.2"}
package/index.d.ts CHANGED
@@ -747,7 +747,9 @@ type _KeySeparator = TypeOptions['keySeparator'];
747
747
  type _NsSeparator = TypeOptions['nsSeparator'];
748
748
  type _PluralSeparator = TypeOptions['pluralSeparator'];
749
749
  type _DefaultNamespace = TypeOptions['defaultNS'];
750
- type _FallbackNamespace = TypeOptions['fallbackNS'];
750
+ type _FallbackNamespace = TypeOptions['fallbackNS'] extends false
751
+ ? TypeOptions['defaultNS']
752
+ : TypeOptions['fallbackNS'];
751
753
  type _Resources = TypeOptions['resources'];
752
754
  type _JSONFormat = TypeOptions['jsonFormat'];
753
755
  type _InterpolationPrefix = TypeOptions['interpolationPrefix'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next",
3
- "version": "23.2.1",
3
+ "version": "23.2.2",
4
4
  "description": "i18next internationalization framework",
5
5
  "main": "./dist/cjs/i18next.js",
6
6
  "module": "./dist/esm/i18next.js",