@snack-uikit/locale 0.15.3 → 0.15.4-preview-51a2c5b3.0

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.
@@ -34,7 +34,7 @@ export declare function createLocaleContext<D extends Dictionary>({ extendedDict
34
34
  };
35
35
  export declare const LocaleProvider: ({ lang, fallbackLang, overrideLocales, children }: LocaleProviderProps<Dictionary>) => import("react/jsx-runtime").JSX.Element, useLocale: {
36
36
  (): {
37
- t: GetLocaleText<Dictionary>;
37
+ t: GetLocaleText<Dictionary, undefined>;
38
38
  lang: LocaleLang;
39
39
  };
40
40
  <C extends string = string>(componentName: C): {
@@ -34,7 +34,7 @@ export declare function createLocaleContext<D extends Dictionary>({ extendedDict
34
34
  };
35
35
  export declare const LocaleProvider: ({ lang, fallbackLang, overrideLocales, children }: LocaleProviderProps<Dictionary>) => import("react/jsx-runtime").JSX.Element, useLocale: {
36
36
  (): {
37
- t: GetLocaleText<Dictionary>;
37
+ t: GetLocaleText<Dictionary, undefined>;
38
38
  lang: LocaleLang;
39
39
  };
40
40
  <C extends string = string>(componentName: C): {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Locale",
7
- "version": "0.15.3",
7
+ "version": "0.15.4-preview-51a2c5b3.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -41,5 +41,5 @@
41
41
  "devDependencies": {
42
42
  "@types/lodash.merge": "4.6.9"
43
43
  },
44
- "gitHead": "6b989b5fe57383ddf2bd6c1186bf4e1652633da7"
44
+ "gitHead": "4a350ea43df56a8744d5797b13d56be618bdbe15"
45
45
  }
package/src/typeUtils.ts CHANGED
@@ -2,7 +2,6 @@ type Primitive = null | undefined | string | number | boolean | symbol | bigint;
2
2
 
3
3
  type BuiltIns = Primitive | void | Date | RegExp;
4
4
 
5
- /* eslint-disable no-use-before-define */
6
5
  export type PartialDeep<T> = T extends
7
6
  | BuiltIns
8
7
  | ((...arguments_: unknown[]) => unknown)