@typescript-deploys/pr-build 5.4.0-pr-56652-11 → 5.4.0-pr-56794-2

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.
@@ -27,5 +27,5 @@ declare namespace Intl {
27
27
  * @param locale A list of String values for which to get the canonical locale names
28
28
  * @returns An array containing the canonical and validated locale names.
29
29
  */
30
- function getCanonicalLocales(locale?: string | string[]): string[];
30
+ function getCanonicalLocales(locale?: string | readonly string[]): string[];
31
31
  }
@@ -48,9 +48,9 @@ declare namespace Intl {
48
48
  }
49
49
 
50
50
  interface PluralRulesConstructor {
51
- new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
52
- (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
53
- supportedLocalesOf(locales: string | string[], options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
51
+ new (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;
52
+ (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;
53
+ supportedLocalesOf(locales: string | readonly string[], options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
54
54
  }
55
55
 
56
56
  const PluralRules: PluralRulesConstructor;
package/lib/lib.es5.d.ts CHANGED
@@ -1666,6 +1666,11 @@ type Capitalize<S extends string> = intrinsic;
1666
1666
  */
1667
1667
  type Uncapitalize<S extends string> = intrinsic;
1668
1668
 
1669
+ /**
1670
+ * Marker for non-inference type position
1671
+ */
1672
+ type NoInfer<T> = intrinsic;
1673
+
1669
1674
  /**
1670
1675
  * Marker for contextual 'this' type
1671
1676
  */