@typescript-deploys/pr-build 5.0.0-pr-51682-13 → 5.0.0-pr-51865-14
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/lib.es2021.intl.d.ts +15 -0
- package/lib/tsc.js +1070 -1571
- package/lib/tsserver.js +1120 -1615
- package/lib/tsserverlibrary.d.ts +67 -71
- package/lib/tsserverlibrary.js +1121 -1612
- package/lib/typescript.d.ts +66 -71
- package/lib/typescript.js +1108 -1604
- package/lib/typingsInstaller.js +647 -1064
- package/package.json +3 -2
package/lib/lib.es2021.intl.d.ts
CHANGED
|
@@ -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: {
|