@sveltekit-i18n/base 1.0.0-beta.4 → 1.0.0-beta.5

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -23,7 +23,7 @@ type ConfigTranslations = { [locale: string]: Record<string, any> };
23
23
 
24
24
  type Translations = { [locale: string]: Record<string, string> };
25
25
 
26
- type Parse = <Payload = Record<any, any>>(props: {
26
+ type Parse<Payload = Record<any, any>> = (props: {
27
27
  key: string;
28
28
  payload?: Payload;
29
29
  translations: Translations;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltekit-i18n/base",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.5",
4
4
  "description": "Base functionality of sveltekit-i18n library with a support for external message parsers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",