i18next 23.4.1 → 23.4.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.
- package/dist/esm/package.json +1 -1
- package/index.d.ts +25 -0
- package/package.json +1 -1
- package/typescript/options.d.ts +1 -1
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"23.4.
|
|
1
|
+
{"type":"module","version":"23.4.2"}
|
package/index.d.ts
CHANGED
|
@@ -495,7 +495,32 @@ export interface i18n {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
export type * from './typescript/options.d.ts';
|
|
498
|
+
export type {
|
|
499
|
+
FallbackLngObjList,
|
|
500
|
+
FallbackLng,
|
|
501
|
+
InitOptions,
|
|
502
|
+
TypeOptions,
|
|
503
|
+
CustomTypeOptions,
|
|
504
|
+
CustomPluginOptions,
|
|
505
|
+
PluginOptions,
|
|
506
|
+
FormatFunction,
|
|
507
|
+
InterpolationOptions,
|
|
508
|
+
ReactOptions,
|
|
509
|
+
ResourceKey,
|
|
510
|
+
ResourceLanguage,
|
|
511
|
+
Resource,
|
|
512
|
+
TOptions,
|
|
513
|
+
Namespace,
|
|
514
|
+
DefaultNamespace,
|
|
515
|
+
} from './typescript/options.d.ts';
|
|
498
516
|
export type * from './typescript/t.d.ts';
|
|
517
|
+
export type {
|
|
518
|
+
TFunction,
|
|
519
|
+
ParseKeys,
|
|
520
|
+
TFunctionReturn,
|
|
521
|
+
TFunctionDetailedResult,
|
|
522
|
+
KeyPrefix,
|
|
523
|
+
} from './typescript/t.d.ts';
|
|
499
524
|
|
|
500
525
|
declare const i18next: i18n;
|
|
501
526
|
export default i18next;
|
package/package.json
CHANGED
package/typescript/options.d.ts
CHANGED
|
@@ -548,7 +548,7 @@ export interface InitOptions<T = object> extends PluginOptions<T> {
|
|
|
548
548
|
overloadTranslationOptionHandler?(args: string[]): TOptions;
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* @see https://www.i18next.com/interpolation
|
|
551
|
+
* @see https://www.i18next.com/translation-function/interpolation
|
|
552
552
|
*/
|
|
553
553
|
interpolation?: InterpolationOptions;
|
|
554
554
|
|