@livetiles/reach-plugin-types 0.5.0-preview.482 → 0.5.0-preview.485
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 +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -983,6 +983,7 @@ declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider
|
|
|
983
983
|
import { FC } from 'react';
|
|
984
984
|
export const BaseResourceContextProvider: FC<{
|
|
985
985
|
language?: string;
|
|
986
|
+
locale?: string;
|
|
986
987
|
importLanguageResourcesAsync: (language: string) => Promise<{
|
|
987
988
|
default: unknown;
|
|
988
989
|
}>;
|
|
@@ -1055,6 +1056,7 @@ declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvid
|
|
|
1055
1056
|
import { FC } from 'react';
|
|
1056
1057
|
export const LegacyResourceContextProvider: FC<{
|
|
1057
1058
|
language?: string;
|
|
1059
|
+
locale?: string;
|
|
1058
1060
|
}>;
|
|
1059
1061
|
}
|
|
1060
1062
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
@@ -5119,7 +5121,7 @@ declare module "libs/reach/ui/common/src/common/locals-util" {
|
|
|
5119
5121
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
5120
5122
|
export const defaultFallbackLocale = "en";
|
|
5121
5123
|
export const supportedLocales: string[];
|
|
5122
|
-
export function getPreferredLocale(user?: CurrentUser): string;
|
|
5124
|
+
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
5123
5125
|
}
|
|
5124
5126
|
declare module "libs/reach/ui/common/src/common/paging/HorizontalPager" {
|
|
5125
5127
|
import { FC } from 'react';
|