@formatjs/intl-localematcher 0.8.12 → 0.8.13

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/index.d.ts +7 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  //#region packages/intl-localematcher/abstract/LookupSupportedLocales.d.ts
2
2
  /**
3
- * https://tc39.es/ecma402/#sec-lookupsupportedlocales
4
- * @param availableLocales
5
- * @param requestedLocales
6
- */
3
+ * https://tc39.es/ecma402/#sec-lookupsupportedlocales
4
+ * @param availableLocales
5
+ * @param requestedLocales
6
+ */
7
7
  declare function LookupSupportedLocales(availableLocales: string[], requestedLocales: string[]): string[];
8
8
  //#endregion
9
9
  //#region packages/intl-localematcher/abstract/ResolveLocale.d.ts
@@ -13,9 +13,9 @@ interface ResolveLocaleResult {
13
13
  [k: string]: any;
14
14
  }
15
15
  /**
16
- * https://tc39.es/ecma402/#sec-resolvelocale
17
- */
18
- declare function ResolveLocale<K extends string, D extends { [k in K]: any }>(availableLocales: Set<string> | readonly string[], requestedLocales: readonly string[], options: {
16
+ * https://tc39.es/ecma402/#sec-resolvelocale
17
+ */
18
+ declare function ResolveLocale<K extends string, D extends { [k in K]: any; }>(availableLocales: Set<string> | readonly string[], requestedLocales: readonly string[], options: {
19
19
  localeMatcher: string;
20
20
  [k: string]: string;
21
21
  }, relevantExtensionKeys: K[], localeData: Record<string, D | undefined>, getDefaultLocale: () => string): ResolveLocaleResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-localematcher",
3
- "version": "0.8.12",
3
+ "version": "0.8.13",
4
4
  "description": "Intl.LocaleMatcher ponyfill",
5
5
  "keywords": [
6
6
  "ecma402",