@typescript-deploys/pr-build 4.5.0-pr-46071-5 → 4.5.0-pr-46071-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.
- package/lib/cs/diagnosticMessages.generated.json +17 -4
- package/lib/de/diagnosticMessages.generated.json +19 -5
- package/lib/es/diagnosticMessages.generated.json +17 -4
- package/lib/fr/diagnosticMessages.generated.json +17 -4
- package/lib/it/diagnosticMessages.generated.json +17 -4
- package/lib/ja/diagnosticMessages.generated.json +17 -4
- package/lib/ko/diagnosticMessages.generated.json +17 -4
- package/lib/lib.dom.d.ts +669 -1896
- package/lib/lib.dom.iterable.d.ts +16 -48
- package/lib/lib.es5.d.ts +10 -10
- package/lib/lib.webworker.d.ts +183 -520
- package/lib/lib.webworker.iterable.d.ts +10 -30
- package/lib/pl/diagnosticMessages.generated.json +17 -4
- package/lib/pt-br/diagnosticMessages.generated.json +17 -4
- package/lib/ru/diagnosticMessages.generated.json +17 -4
- package/lib/tr/diagnosticMessages.generated.json +17 -4
- package/lib/tsc.js +522 -322
- package/lib/tsserver.js +1015 -514
- package/lib/tsserverlibrary.d.ts +11 -8
- package/lib/tsserverlibrary.js +1015 -514
- package/lib/typescript.d.ts +11 -8
- package/lib/typescript.js +1015 -514
- package/lib/typescriptServices.d.ts +11 -8
- package/lib/typescriptServices.js +1015 -514
- package/lib/typingsInstaller.js +588 -331
- package/lib/zh-cn/diagnosticMessages.generated.json +17 -4
- package/lib/zh-tw/diagnosticMessages.generated.json +17 -4
- package/package.json +1 -1
|
@@ -78,17 +78,11 @@ interface FontFaceSet extends Set<FontFace> {
|
|
|
78
78
|
|
|
79
79
|
interface FormData {
|
|
80
80
|
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
|
81
|
-
/**
|
|
82
|
-
* Returns an array of key, value pairs for every entry in the list.
|
|
83
|
-
*/
|
|
81
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
|
84
82
|
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns a list of keys in the list.
|
|
87
|
-
*/
|
|
83
|
+
/** Returns a list of keys in the list. */
|
|
88
84
|
keys(): IterableIterator<string>;
|
|
89
|
-
/**
|
|
90
|
-
* Returns a list of values in the list.
|
|
91
|
-
*/
|
|
85
|
+
/** Returns a list of values in the list. */
|
|
92
86
|
values(): IterableIterator<FormDataEntryValue>;
|
|
93
87
|
}
|
|
94
88
|
|
|
@@ -114,24 +108,16 @@ interface HTMLSelectElement {
|
|
|
114
108
|
|
|
115
109
|
interface Headers {
|
|
116
110
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
117
|
-
/**
|
|
118
|
-
* Returns an iterator allowing to go through all key/value pairs contained in this object.
|
|
119
|
-
*/
|
|
111
|
+
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
120
112
|
entries(): IterableIterator<[string, string]>;
|
|
121
|
-
/**
|
|
122
|
-
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
|
|
123
|
-
*/
|
|
113
|
+
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
124
114
|
keys(): IterableIterator<string>;
|
|
125
|
-
/**
|
|
126
|
-
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
|
|
127
|
-
*/
|
|
115
|
+
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
128
116
|
values(): IterableIterator<string>;
|
|
129
117
|
}
|
|
130
118
|
|
|
131
119
|
interface IDBDatabase {
|
|
132
|
-
/**
|
|
133
|
-
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
|
134
|
-
*/
|
|
120
|
+
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
|
135
121
|
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
|
|
136
122
|
}
|
|
137
123
|
|
|
@@ -175,33 +161,21 @@ interface Navigator {
|
|
|
175
161
|
|
|
176
162
|
interface NodeList {
|
|
177
163
|
[Symbol.iterator](): IterableIterator<Node>;
|
|
178
|
-
/**
|
|
179
|
-
* Returns an array of key, value pairs for every entry in the list.
|
|
180
|
-
*/
|
|
164
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
|
181
165
|
entries(): IterableIterator<[number, Node]>;
|
|
182
|
-
/**
|
|
183
|
-
* Returns an list of keys in the list.
|
|
184
|
-
*/
|
|
166
|
+
/** Returns an list of keys in the list. */
|
|
185
167
|
keys(): IterableIterator<number>;
|
|
186
|
-
/**
|
|
187
|
-
* Returns an list of values in the list.
|
|
188
|
-
*/
|
|
168
|
+
/** Returns an list of values in the list. */
|
|
189
169
|
values(): IterableIterator<Node>;
|
|
190
170
|
}
|
|
191
171
|
|
|
192
172
|
interface NodeListOf<TNode extends Node> {
|
|
193
173
|
[Symbol.iterator](): IterableIterator<TNode>;
|
|
194
|
-
/**
|
|
195
|
-
* Returns an array of key, value pairs for every entry in the list.
|
|
196
|
-
*/
|
|
174
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
|
197
175
|
entries(): IterableIterator<[number, TNode]>;
|
|
198
|
-
/**
|
|
199
|
-
* Returns an list of keys in the list.
|
|
200
|
-
*/
|
|
176
|
+
/** Returns an list of keys in the list. */
|
|
201
177
|
keys(): IterableIterator<number>;
|
|
202
|
-
/**
|
|
203
|
-
* Returns an list of values in the list.
|
|
204
|
-
*/
|
|
178
|
+
/** Returns an list of values in the list. */
|
|
205
179
|
values(): IterableIterator<TNode>;
|
|
206
180
|
}
|
|
207
181
|
|
|
@@ -283,17 +257,11 @@ interface TouchList {
|
|
|
283
257
|
|
|
284
258
|
interface URLSearchParams {
|
|
285
259
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
286
|
-
/**
|
|
287
|
-
* Returns an array of key, value pairs for every entry in the search params.
|
|
288
|
-
*/
|
|
260
|
+
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
289
261
|
entries(): IterableIterator<[string, string]>;
|
|
290
|
-
/**
|
|
291
|
-
* Returns a list of keys in the search params.
|
|
292
|
-
*/
|
|
262
|
+
/** Returns a list of keys in the search params. */
|
|
293
263
|
keys(): IterableIterator<string>;
|
|
294
|
-
/**
|
|
295
|
-
* Returns a list of values in the search params.
|
|
296
|
-
*/
|
|
264
|
+
/** Returns a list of values in the search params. */
|
|
297
265
|
values(): IterableIterator<string>;
|
|
298
266
|
}
|
|
299
267
|
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -965,7 +965,7 @@ interface RegExp {
|
|
|
965
965
|
|
|
966
966
|
// Non-standard extensions
|
|
967
967
|
/** @deprecated A legacy feature for browser compatibility */
|
|
968
|
-
compile(): this;
|
|
968
|
+
compile(pattern: string, flags?: string): this;
|
|
969
969
|
}
|
|
970
970
|
|
|
971
971
|
interface RegExpConstructor {
|
|
@@ -2026,7 +2026,7 @@ interface Int8Array {
|
|
|
2026
2026
|
* Sorts an array.
|
|
2027
2027
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2028
2028
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
2029
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
2029
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
2030
2030
|
* ```ts
|
|
2031
2031
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
2032
2032
|
* ```
|
|
@@ -2308,7 +2308,7 @@ interface Uint8Array {
|
|
|
2308
2308
|
* Sorts an array.
|
|
2309
2309
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2310
2310
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
2311
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
2311
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
2312
2312
|
* ```ts
|
|
2313
2313
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
2314
2314
|
* ```
|
|
@@ -2590,7 +2590,7 @@ interface Uint8ClampedArray {
|
|
|
2590
2590
|
* Sorts an array.
|
|
2591
2591
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2592
2592
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
2593
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
2593
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
2594
2594
|
* ```ts
|
|
2595
2595
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
2596
2596
|
* ```
|
|
@@ -2870,7 +2870,7 @@ interface Int16Array {
|
|
|
2870
2870
|
* Sorts an array.
|
|
2871
2871
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2872
2872
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
2873
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
2873
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
2874
2874
|
* ```ts
|
|
2875
2875
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
2876
2876
|
* ```
|
|
@@ -3153,7 +3153,7 @@ interface Uint16Array {
|
|
|
3153
3153
|
* Sorts an array.
|
|
3154
3154
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
3155
3155
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
3156
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
3156
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
3157
3157
|
* ```ts
|
|
3158
3158
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
3159
3159
|
* ```
|
|
@@ -3435,7 +3435,7 @@ interface Int32Array {
|
|
|
3435
3435
|
* Sorts an array.
|
|
3436
3436
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
3437
3437
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
3438
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
3438
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
3439
3439
|
* ```ts
|
|
3440
3440
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
3441
3441
|
* ```
|
|
@@ -3716,7 +3716,7 @@ interface Uint32Array {
|
|
|
3716
3716
|
* Sorts an array.
|
|
3717
3717
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
3718
3718
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
3719
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
3719
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
3720
3720
|
* ```ts
|
|
3721
3721
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
3722
3722
|
* ```
|
|
@@ -3998,7 +3998,7 @@ interface Float32Array {
|
|
|
3998
3998
|
* Sorts an array.
|
|
3999
3999
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
4000
4000
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
4001
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
4001
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
4002
4002
|
* ```ts
|
|
4003
4003
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
4004
4004
|
* ```
|
|
@@ -4281,7 +4281,7 @@ interface Float64Array {
|
|
|
4281
4281
|
* Sorts an array.
|
|
4282
4282
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
|
4283
4283
|
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
|
4284
|
-
* value otherwise. If omitted, the elements are sorted in ascending
|
|
4284
|
+
* value otherwise. If omitted, the elements are sorted in ascending order.
|
|
4285
4285
|
* ```ts
|
|
4286
4286
|
* [11,2,22,1].sort((a, b) => a - b)
|
|
4287
4287
|
* ```
|