i18next 22.0.3 → 22.0.4

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":"22.0.3"}
1
+ {"type":"module","version":"22.0.4"}
package/index.d.ts CHANGED
@@ -971,6 +971,10 @@ export class ResourceStore {
971
971
  export interface Formatter {
972
972
  init(services: Services, i18nextOptions: InitOptions): void;
973
973
  add(name: string, fc: (value: any, lng: string | undefined, options: any) => string): void;
974
+ addCached(
975
+ name: string,
976
+ fc: (lng: string | undefined, options: any) => (value: any) => string,
977
+ ): void;
974
978
  format: FormatFunction;
975
979
  }
976
980
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next",
3
- "version": "22.0.3",
3
+ "version": "22.0.4",
4
4
  "description": "i18next internationalization framework",
5
5
  "main": "./dist/cjs/i18next.js",
6
6
  "module": "./dist/esm/i18next.js",