@digitaldefiance/i18n-lib 1.0.21 → 1.0.22

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.
@@ -31,7 +31,7 @@ export declare class I18nEngine<TStringKey extends string, TLanguage extends str
31
31
  /**
32
32
  * Default template processor instance
33
33
  */
34
- readonly t: (key: TStringKey, vars?: Record<string, string | number>, language?: TLanguage) => string;
34
+ readonly t: (str: string, language?: TLanguage, ...otherVars: Record<string, string | number>[]) => string;
35
35
  /**
36
36
  * Creates a new I18nEngine instance
37
37
  * @param config The i18n configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitaldefiance/i18n-lib",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Generic i18n library with enum translation support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",