Comparing version 23.4.9 to 23.5.0
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"23.4.9"} | ||
{"type":"module","version":"23.5.0"} |
{ | ||
"name": "i18next", | ||
"version": "23.4.9", | ||
"version": "23.5.0", | ||
"description": "i18next internationalization framework", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/i18next.js", |
export type $MergeBy<T, K> = Omit<T, keyof K> & K; | ||
export type $Dictionary<T = any> = { [key: string]: T }; | ||
export type $Dictionary<T = unknown> = { [key: string]: T }; | ||
export type $OmitArrayKeys<Arr> = Arr extends readonly any[] ? Omit<Arr, keyof any[]> : Arr; | ||
export type $PreservedValue<Value, Fallback> = [Value] extends [never] ? Fallback : Value; | ||
export type $SpecialObject = object | Array<string | object>; |
@@ -688,3 +688,3 @@ import type { $MergeBy, $PreservedValue, $Dictionary } from './helpers.d.ts'; | ||
*/ | ||
defaultValue?: any; | ||
defaultValue?: unknown; | ||
/** | ||
@@ -691,0 +691,0 @@ * Count value used for plurals |
@@ -137,3 +137,6 @@ import type { $OmitArrayKeys, $PreservedValue, $Dictionary, $SpecialObject } from './helpers.d.ts'; | ||
: never; | ||
type InterpolationMap<Ret> = Record<$PreservedValue<ParseInterpolationValues<Ret>, string>, any>; | ||
type InterpolationMap<Ret> = Record< | ||
$PreservedValue<ParseInterpolationValues<Ret>, string>, | ||
unknown | ||
>; | ||
@@ -212,2 +215,3 @@ type ParseTReturnPlural< | ||
$TFunctionBrand: $IsResourcesDefined extends true ? `${$FirstNamespace<Ns>}` : never; | ||
< | ||
@@ -214,0 +218,0 @@ const Key extends ParseKeys<Ns, TOpt, KPrefix> | TemplateStringsArray, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
586885
13200