@livetiles/reach-plugin-types 0.4.84 → 0.4.85
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/lib/index.d.ts +2 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1040,6 +1040,7 @@ declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
|
1040
1040
|
import { FC } from 'react';
|
|
1041
1041
|
export const ResourceContextProvider: FC<{
|
|
1042
1042
|
language?: string;
|
|
1043
|
+
locale?: string;
|
|
1043
1044
|
}>;
|
|
1044
1045
|
}
|
|
1045
1046
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
@@ -4893,7 +4894,7 @@ declare module "libs/reach/ui/common/src/common/locals-util" {
|
|
|
4893
4894
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
4894
4895
|
export const defaultFallbackLocale = "en";
|
|
4895
4896
|
export const supportedLocales: string[];
|
|
4896
|
-
export function getPreferredLocale(user?: CurrentUser): string;
|
|
4897
|
+
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
4897
4898
|
}
|
|
4898
4899
|
declare module "libs/reach/ui/common/src/common/paging/HorizontalPager" {
|
|
4899
4900
|
import { FC } from 'react';
|