i18next 22.0.6 → 22.0.7
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 +3 -3
- 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.7"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Helpers
|
|
2
2
|
type MergeBy<T, K> = Omit<T, keyof K> & K;
|
|
3
|
-
type StringMap = { [key: string]: any };
|
|
3
|
+
export type StringMap = { [key: string]: any };
|
|
4
4
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void
|
|
5
5
|
? I
|
|
6
6
|
: never;
|
|
@@ -116,7 +116,7 @@ export type PluginOptions = MergeBy<
|
|
|
116
116
|
CustomPluginOptions
|
|
117
117
|
>;
|
|
118
118
|
|
|
119
|
-
type FormatFunction = (
|
|
119
|
+
export type FormatFunction = (
|
|
120
120
|
value: any,
|
|
121
121
|
format?: string,
|
|
122
122
|
lng?: string,
|
|
@@ -1116,7 +1116,7 @@ export interface NewableModule<T extends Module> extends Newable<T> {
|
|
|
1116
1116
|
type: T['type'];
|
|
1117
1117
|
}
|
|
1118
1118
|
|
|
1119
|
-
type Callback = (error: any, t: TFunction) => void;
|
|
1119
|
+
export type Callback = (error: any, t: TFunction) => void;
|
|
1120
1120
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* Uses similar args as the t function and returns true if a key exists.
|