@@ -178,10 +178,12 @@ interface SetIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknow
178
178
interface Set < T > {
179
179
/** Iterates over values in the set. */
180
180
[ Symbol . iterator ] ( ) : SetIterator < T > ;
181
+
181
182
/**
182
183
* Returns an iterable of [v,v] pairs for every value `v` in the set.
183
184
*/
184
185
entries ( ) : SetIterator < [ T , T ] > ;
186
+
185
187
/**
186
188
* Despite its name, returns an iterable of the values in the set.
187
189
*/
@@ -254,14 +256,17 @@ interface String {
254
256
255
257
interface Int8Array < TArrayBuffer extends ArrayBufferLike > {
256
258
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
259
+
257
260
/**
258
261
* Returns an array of key, value pairs for every entry in the array
259
262
*/
260
263
entries ( ) : ArrayIterator < [ number , number ] > ;
264
+
261
265
/**
262
266
* Returns an list of keys in the array
263
267
*/
264
268
keys ( ) : ArrayIterator < number > ;
269
+
265
270
/**
266
271
* Returns an list of values in the array
267
272
*/
@@ -273,30 +278,32 @@ interface Int8ArrayConstructor {
273
278
274
279
/**
275
280
* Creates an array from an array-like or iterable object.
276
- * @param arrayLike An array-like or iterable object to convert to an array.
277
- * @param mapfn A mapping function to call on every element of the array.
278
- * @param thisArg Value of 'this' used to invoke the mapfn.
281
+ * @param elements An iterable object to convert to an array.
279
282
*/
280
- from ( arrayLike : Iterable < number > ) : Int8Array < ArrayBuffer > ;
283
+ from ( elements : Iterable < number > ) : Int8Array < ArrayBuffer > ;
284
+
281
285
/**
282
286
* Creates an array from an array-like or iterable object.
283
- * @param arrayLike An array-like or iterable object to convert to an array.
287
+ * @param elements An iterable object to convert to an array.
284
288
* @param mapfn A mapping function to call on every element of the array.
285
289
* @param thisArg Value of 'this' used to invoke the mapfn.
286
290
*/
287
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Int8Array < ArrayBuffer > ;
291
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Int8Array < ArrayBuffer > ;
288
292
}
289
293
290
294
interface Uint8Array < TArrayBuffer extends ArrayBufferLike > {
291
295
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
296
+
292
297
/**
293
298
* Returns an array of key, value pairs for every entry in the array
294
299
*/
295
300
entries ( ) : ArrayIterator < [ number , number ] > ;
301
+
296
302
/**
297
303
* Returns an list of keys in the array
298
304
*/
299
305
keys ( ) : ArrayIterator < number > ;
306
+
300
307
/**
301
308
* Returns an list of values in the array
302
309
*/
@@ -308,22 +315,22 @@ interface Uint8ArrayConstructor {
308
315
309
316
/**
310
317
* Creates an array from an array-like or iterable object.
311
- * @param arrayLike An array-like or iterable object to convert to an array.
312
- * @param mapfn A mapping function to call on every element of the array.
313
- * @param thisArg Value of 'this' used to invoke the mapfn.
318
+ * @param elements An iterable object to convert to an array.
314
319
*/
315
- from ( arrayLike : Iterable < number > ) : Uint8Array < ArrayBuffer > ;
320
+ from ( elements : Iterable < number > ) : Uint8Array < ArrayBuffer > ;
321
+
316
322
/**
317
323
* Creates an array from an array-like or iterable object.
318
- * @param arrayLike An array-like or iterable object to convert to an array.
324
+ * @param elements An iterable object to convert to an array.
319
325
* @param mapfn A mapping function to call on every element of the array.
320
326
* @param thisArg Value of 'this' used to invoke the mapfn.
321
327
*/
322
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint8Array < ArrayBuffer > ;
328
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint8Array < ArrayBuffer > ;
323
329
}
324
330
325
331
interface Uint8ClampedArray < TArrayBuffer extends ArrayBufferLike > {
326
332
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
333
+
327
334
/**
328
335
* Returns an array of key, value pairs for every entry in the array
329
336
*/
@@ -345,18 +352,17 @@ interface Uint8ClampedArrayConstructor {
345
352
346
353
/**
347
354
* Creates an array from an array-like or iterable object.
348
- * @param arrayLike An array-like or iterable object to convert to an array.
349
- * @param mapfn A mapping function to call on every element of the array.
350
- * @param thisArg Value of 'this' used to invoke the mapfn.
355
+ * @param elements An iterable object to convert to an array.
351
356
*/
352
- from ( arrayLike : Iterable < number > ) : Uint8ClampedArray < ArrayBuffer > ;
357
+ from ( elements : Iterable < number > ) : Uint8ClampedArray < ArrayBuffer > ;
358
+
353
359
/**
354
360
* Creates an array from an array-like or iterable object.
355
- * @param arrayLike An array-like or iterable object to convert to an array.
361
+ * @param elements An iterable object to convert to an array.
356
362
* @param mapfn A mapping function to call on every element of the array.
357
363
* @param thisArg Value of 'this' used to invoke the mapfn.
358
364
*/
359
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint8ClampedArray < ArrayBuffer > ;
365
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint8ClampedArray < ArrayBuffer > ;
360
366
}
361
367
362
368
interface Int16Array < TArrayBuffer extends ArrayBufferLike > {
@@ -382,30 +388,32 @@ interface Int16ArrayConstructor {
382
388
383
389
/**
384
390
* Creates an array from an array-like or iterable object.
385
- * @param arrayLike An array-like or iterable object to convert to an array.
386
- * @param mapfn A mapping function to call on every element of the array.
387
- * @param thisArg Value of 'this' used to invoke the mapfn.
391
+ * @param elements An iterable object to convert to an array.
388
392
*/
389
- from ( arrayLike : Iterable < number > ) : Int16Array < ArrayBuffer > ;
393
+ from ( elements : Iterable < number > ) : Int16Array < ArrayBuffer > ;
394
+
390
395
/**
391
396
* Creates an array from an array-like or iterable object.
392
- * @param arrayLike An array-like or iterable object to convert to an array.
397
+ * @param elements An iterable object to convert to an array.
393
398
* @param mapfn A mapping function to call on every element of the array.
394
399
* @param thisArg Value of 'this' used to invoke the mapfn.
395
400
*/
396
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Int16Array < ArrayBuffer > ;
401
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Int16Array < ArrayBuffer > ;
397
402
}
398
403
399
404
interface Uint16Array < TArrayBuffer extends ArrayBufferLike > {
400
405
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
406
+
401
407
/**
402
408
* Returns an array of key, value pairs for every entry in the array
403
409
*/
404
410
entries ( ) : ArrayIterator < [ number , number ] > ;
411
+
405
412
/**
406
413
* Returns an list of keys in the array
407
414
*/
408
415
keys ( ) : ArrayIterator < number > ;
416
+
409
417
/**
410
418
* Returns an list of values in the array
411
419
*/
@@ -417,30 +425,32 @@ interface Uint16ArrayConstructor {
417
425
418
426
/**
419
427
* Creates an array from an array-like or iterable object.
420
- * @param arrayLike An array-like or iterable object to convert to an array.
421
- * @param mapfn A mapping function to call on every element of the array.
422
- * @param thisArg Value of 'this' used to invoke the mapfn.
428
+ * @param elements An iterable object to convert to an array.
423
429
*/
424
- from ( arrayLike : Iterable < number > ) : Uint16Array < ArrayBuffer > ;
430
+ from ( elements : Iterable < number > ) : Uint16Array < ArrayBuffer > ;
431
+
425
432
/**
426
433
* Creates an array from an array-like or iterable object.
427
- * @param arrayLike An array-like or iterable object to convert to an array.
434
+ * @param elements An iterable object to convert to an array.
428
435
* @param mapfn A mapping function to call on every element of the array.
429
436
* @param thisArg Value of 'this' used to invoke the mapfn.
430
437
*/
431
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint16Array < ArrayBuffer > ;
438
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint16Array < ArrayBuffer > ;
432
439
}
433
440
434
441
interface Int32Array < TArrayBuffer extends ArrayBufferLike > {
435
442
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
443
+
436
444
/**
437
445
* Returns an array of key, value pairs for every entry in the array
438
446
*/
439
447
entries ( ) : ArrayIterator < [ number , number ] > ;
448
+
440
449
/**
441
450
* Returns an list of keys in the array
442
451
*/
443
452
keys ( ) : ArrayIterator < number > ;
453
+
444
454
/**
445
455
* Returns an list of values in the array
446
456
*/
@@ -452,30 +462,32 @@ interface Int32ArrayConstructor {
452
462
453
463
/**
454
464
* Creates an array from an array-like or iterable object.
455
- * @param arrayLike An array-like or iterable object to convert to an array.
456
- * @param mapfn A mapping function to call on every element of the array.
457
- * @param thisArg Value of 'this' used to invoke the mapfn.
465
+ * @param elements An iterable object to convert to an array.
458
466
*/
459
- from ( arrayLike : Iterable < number > ) : Int32Array < ArrayBuffer > ;
467
+ from ( elements : Iterable < number > ) : Int32Array < ArrayBuffer > ;
468
+
460
469
/**
461
470
* Creates an array from an array-like or iterable object.
462
- * @param arrayLike An array-like or iterable object to convert to an array.
471
+ * @param elements An iterable object to convert to an array.
463
472
* @param mapfn A mapping function to call on every element of the array.
464
473
* @param thisArg Value of 'this' used to invoke the mapfn.
465
474
*/
466
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Int32Array < ArrayBuffer > ;
475
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Int32Array < ArrayBuffer > ;
467
476
}
468
477
469
478
interface Uint32Array < TArrayBuffer extends ArrayBufferLike > {
470
479
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
480
+
471
481
/**
472
482
* Returns an array of key, value pairs for every entry in the array
473
483
*/
474
484
entries ( ) : ArrayIterator < [ number , number ] > ;
485
+
475
486
/**
476
487
* Returns an list of keys in the array
477
488
*/
478
489
keys ( ) : ArrayIterator < number > ;
490
+
479
491
/**
480
492
* Returns an list of values in the array
481
493
*/
@@ -487,30 +499,32 @@ interface Uint32ArrayConstructor {
487
499
488
500
/**
489
501
* Creates an array from an array-like or iterable object.
490
- * @param arrayLike An array-like or iterable object to convert to an array.
491
- * @param mapfn A mapping function to call on every element of the array.
492
- * @param thisArg Value of 'this' used to invoke the mapfn.
502
+ * @param elements An iterable object to convert to an array.
493
503
*/
494
- from ( arrayLike : Iterable < number > ) : Uint32Array < ArrayBuffer > ;
504
+ from ( elements : Iterable < number > ) : Uint32Array < ArrayBuffer > ;
505
+
495
506
/**
496
507
* Creates an array from an array-like or iterable object.
497
- * @param arrayLike An array-like or iterable object to convert to an array.
508
+ * @param elements An iterable object to convert to an array.
498
509
* @param mapfn A mapping function to call on every element of the array.
499
510
* @param thisArg Value of 'this' used to invoke the mapfn.
500
511
*/
501
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint32Array < ArrayBuffer > ;
512
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Uint32Array < ArrayBuffer > ;
502
513
}
503
514
504
515
interface Float32Array < TArrayBuffer extends ArrayBufferLike > {
505
516
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
517
+
506
518
/**
507
519
* Returns an array of key, value pairs for every entry in the array
508
520
*/
509
521
entries ( ) : ArrayIterator < [ number , number ] > ;
522
+
510
523
/**
511
524
* Returns an list of keys in the array
512
525
*/
513
526
keys ( ) : ArrayIterator < number > ;
527
+
514
528
/**
515
529
* Returns an list of values in the array
516
530
*/
@@ -522,30 +536,32 @@ interface Float32ArrayConstructor {
522
536
523
537
/**
524
538
* Creates an array from an array-like or iterable object.
525
- * @param arrayLike An array-like or iterable object to convert to an array.
526
- * @param mapfn A mapping function to call on every element of the array.
527
- * @param thisArg Value of 'this' used to invoke the mapfn.
539
+ * @param elements An iterable object to convert to an array.
528
540
*/
529
- from ( arrayLike : Iterable < number > ) : Float32Array < ArrayBuffer > ;
541
+ from ( elements : Iterable < number > ) : Float32Array < ArrayBuffer > ;
542
+
530
543
/**
531
544
* Creates an array from an array-like or iterable object.
532
- * @param arrayLike An array-like or iterable object to convert to an array.
545
+ * @param elements An iterable object to convert to an array.
533
546
* @param mapfn A mapping function to call on every element of the array.
534
547
* @param thisArg Value of 'this' used to invoke the mapfn.
535
548
*/
536
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Float32Array < ArrayBuffer > ;
549
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Float32Array < ArrayBuffer > ;
537
550
}
538
551
539
552
interface Float64Array < TArrayBuffer extends ArrayBufferLike > {
540
553
[ Symbol . iterator ] ( ) : ArrayIterator < number > ;
554
+
541
555
/**
542
556
* Returns an array of key, value pairs for every entry in the array
543
557
*/
544
558
entries ( ) : ArrayIterator < [ number , number ] > ;
559
+
545
560
/**
546
561
* Returns an list of keys in the array
547
562
*/
548
563
keys ( ) : ArrayIterator < number > ;
564
+
549
565
/**
550
566
* Returns an list of values in the array
551
567
*/
@@ -557,16 +573,15 @@ interface Float64ArrayConstructor {
557
573
558
574
/**
559
575
* Creates an array from an array-like or iterable object.
560
- * @param arrayLike An array-like or iterable object to convert to an array.
561
- * @param mapfn A mapping function to call on every element of the array.
562
- * @param thisArg Value of 'this' used to invoke the mapfn.
576
+ * @param elements An iterable object to convert to an array.
563
577
*/
564
- from ( arrayLike : Iterable < number > ) : Float64Array < ArrayBuffer > ;
578
+ from ( elements : Iterable < number > ) : Float64Array < ArrayBuffer > ;
579
+
565
580
/**
566
581
* Creates an array from an array-like or iterable object.
567
- * @param arrayLike An array-like or iterable object to convert to an array.
582
+ * @param elements An iterable object to convert to an array.
568
583
* @param mapfn A mapping function to call on every element of the array.
569
584
* @param thisArg Value of 'this' used to invoke the mapfn.
570
585
*/
571
- from < T > ( arrayLike : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Float64Array < ArrayBuffer > ;
586
+ from < T > ( elements : Iterable < T > , mapfn ?: ( v : T , k : number ) => number , thisArg ?: any ) : Float64Array < ArrayBuffer > ;
572
587
}
0 commit comments