@typescript-deploys/pr-build 5.0.0-pr-51682-13 → 5.0.0-pr-51669-12

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.
@@ -85,6 +85,12 @@ declare namespace Intl {
85
85
  style?: ListFormatStyle | undefined;
86
86
  }
87
87
 
88
+ interface ResolvedListFormatOptions {
89
+ locale: string;
90
+ style: ListFormatStyle;
91
+ type: ListFormatType;
92
+ }
93
+
88
94
  interface ListFormat {
89
95
  /**
90
96
  * Returns a string with a language-specific representation of the list.
@@ -111,6 +117,15 @@ declare namespace Intl {
111
117
  * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts).
112
118
  */
113
119
  formatToParts(list: Iterable<string>): { type: "element" | "literal", value: string; }[];
120
+
121
+ /**
122
+ * Returns a new object with properties reflecting the locale and style
123
+ * formatting options computed during the construction of the current
124
+ * `Intl.ListFormat` object.
125
+ *
126
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions).
127
+ */
128
+ resolvedOptions(): ResolvedListFormatOptions;
114
129
  }
115
130
 
116
131
  const ListFormat: {