i18next 23.2.6 → 23.2.8
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 +18 -0
- package/package.json +1 -1
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"23.2.
|
|
1
|
+
{"type":"module","version":"23.2.8"}
|
package/index.d.ts
CHANGED
|
@@ -1249,6 +1249,24 @@ export interface i18n {
|
|
|
1249
1249
|
*/
|
|
1250
1250
|
resolvedLanguage?: string;
|
|
1251
1251
|
|
|
1252
|
+
/**
|
|
1253
|
+
* Checks if namespace has loaded yet.
|
|
1254
|
+
* i.e. used by react-i18next
|
|
1255
|
+
*/
|
|
1256
|
+
hasLoadedNamespace(
|
|
1257
|
+
ns: string | readonly string[],
|
|
1258
|
+
options?: {
|
|
1259
|
+
lng?: string | readonly string[];
|
|
1260
|
+
precheck: (
|
|
1261
|
+
i18n: i18n,
|
|
1262
|
+
loadNotPending: (
|
|
1263
|
+
lng: string | readonly string[],
|
|
1264
|
+
ns: string | readonly string[],
|
|
1265
|
+
) => boolean,
|
|
1266
|
+
) => boolean;
|
|
1267
|
+
},
|
|
1268
|
+
): boolean;
|
|
1269
|
+
|
|
1252
1270
|
/**
|
|
1253
1271
|
* Loads additional namespaces not defined in init options.
|
|
1254
1272
|
*/
|