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.
- package/dist/esm/package.json +1 -1
- package/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"22.0.
|
|
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
|
|