typescript 5.8.0-dev.20250121 → 5.8.0-dev.20250122

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.es5.d.ts CHANGED
@@ -1260,8 +1260,8 @@ interface ReadonlyArray<T> {
1260
1260
  some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;
1261
1261
  /**
1262
1262
  * Performs the specified action for each element in an array.
1263
- * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
1264
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1263
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
1264
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1265
1265
  */
1266
1266
  forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;
1267
1267
  /**
@@ -1451,8 +1451,8 @@ interface Array<T> {
1451
1451
  some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
1452
1452
  /**
1453
1453
  * Performs the specified action for each element in an array.
1454
- * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
1455
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1454
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
1455
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
1456
1456
  */
1457
1457
  forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;
1458
1458
  /**
@@ -1958,9 +1958,9 @@ interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
1958
1958
 
1959
1959
  /**
1960
1960
  * Performs the specified action for each element in an array.
1961
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
1961
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
1962
1962
  * callbackfn function one time for each element in the array.
1963
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
1963
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
1964
1964
  * If thisArg is omitted, undefined is used as the this value.
1965
1965
  */
1966
1966
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -1969,7 +1969,7 @@ interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
1969
1969
  * Returns the index of the first occurrence of a value in an array.
1970
1970
  * @param searchElement The value to locate in the array.
1971
1971
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
1972
- * search starts at index 0.
1972
+ * search starts at index 0.
1973
1973
  */
1974
1974
  indexOf(searchElement: number, fromIndex?: number): number;
1975
1975
 
@@ -2137,13 +2137,13 @@ interface Int8ArrayConstructor {
2137
2137
 
2138
2138
  /**
2139
2139
  * Creates an array from an array-like or iterable object.
2140
- * @param arrayLike An array-like or iterable object to convert to an array.
2140
+ * @param arrayLike An array-like object to convert to an array.
2141
2141
  */
2142
2142
  from(arrayLike: ArrayLike<number>): Int8Array<ArrayBuffer>;
2143
2143
 
2144
2144
  /**
2145
2145
  * Creates an array from an array-like or iterable object.
2146
- * @param arrayLike An array-like or iterable object to convert to an array.
2146
+ * @param arrayLike An array-like object to convert to an array.
2147
2147
  * @param mapfn A mapping function to call on every element of the array.
2148
2148
  * @param thisArg Value of 'this' used to invoke the mapfn.
2149
2149
  */
@@ -2240,9 +2240,9 @@ interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2240
2240
 
2241
2241
  /**
2242
2242
  * Performs the specified action for each element in an array.
2243
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
2243
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
2244
2244
  * callbackfn function one time for each element in the array.
2245
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2245
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2246
2246
  * If thisArg is omitted, undefined is used as the this value.
2247
2247
  */
2248
2248
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -2251,7 +2251,7 @@ interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2251
2251
  * Returns the index of the first occurrence of a value in an array.
2252
2252
  * @param searchElement The value to locate in the array.
2253
2253
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2254
- * search starts at index 0.
2254
+ * search starts at index 0.
2255
2255
  */
2256
2256
  indexOf(searchElement: number, fromIndex?: number): number;
2257
2257
 
@@ -2419,13 +2419,13 @@ interface Uint8ArrayConstructor {
2419
2419
 
2420
2420
  /**
2421
2421
  * Creates an array from an array-like or iterable object.
2422
- * @param arrayLike An array-like or iterable object to convert to an array.
2422
+ * @param arrayLike An array-like object to convert to an array.
2423
2423
  */
2424
2424
  from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
2425
2425
 
2426
2426
  /**
2427
2427
  * Creates an array from an array-like or iterable object.
2428
- * @param arrayLike An array-like or iterable object to convert to an array.
2428
+ * @param arrayLike An array-like object to convert to an array.
2429
2429
  * @param mapfn A mapping function to call on every element of the array.
2430
2430
  * @param thisArg Value of 'this' used to invoke the mapfn.
2431
2431
  */
@@ -2522,9 +2522,9 @@ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBufferLi
2522
2522
 
2523
2523
  /**
2524
2524
  * Performs the specified action for each element in an array.
2525
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
2525
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
2526
2526
  * callbackfn function one time for each element in the array.
2527
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2527
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2528
2528
  * If thisArg is omitted, undefined is used as the this value.
2529
2529
  */
2530
2530
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -2533,7 +2533,7 @@ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBufferLi
2533
2533
  * Returns the index of the first occurrence of a value in an array.
2534
2534
  * @param searchElement The value to locate in the array.
2535
2535
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2536
- * search starts at index 0.
2536
+ * search starts at index 0.
2537
2537
  */
2538
2538
  indexOf(searchElement: number, fromIndex?: number): number;
2539
2539
 
@@ -2701,13 +2701,13 @@ interface Uint8ClampedArrayConstructor {
2701
2701
 
2702
2702
  /**
2703
2703
  * Creates an array from an array-like or iterable object.
2704
- * @param arrayLike An array-like or iterable object to convert to an array.
2704
+ * @param arrayLike An array-like object to convert to an array.
2705
2705
  */
2706
2706
  from(arrayLike: ArrayLike<number>): Uint8ClampedArray<ArrayBuffer>;
2707
2707
 
2708
2708
  /**
2709
2709
  * Creates an array from an array-like or iterable object.
2710
- * @param arrayLike An array-like or iterable object to convert to an array.
2710
+ * @param arrayLike An array-like object to convert to an array.
2711
2711
  * @param mapfn A mapping function to call on every element of the array.
2712
2712
  * @param thisArg Value of 'this' used to invoke the mapfn.
2713
2713
  */
@@ -2804,9 +2804,9 @@ interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2804
2804
 
2805
2805
  /**
2806
2806
  * Performs the specified action for each element in an array.
2807
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
2807
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
2808
2808
  * callbackfn function one time for each element in the array.
2809
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2809
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
2810
2810
  * If thisArg is omitted, undefined is used as the this value.
2811
2811
  */
2812
2812
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -2814,7 +2814,7 @@ interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
2814
2814
  * Returns the index of the first occurrence of a value in an array.
2815
2815
  * @param searchElement The value to locate in the array.
2816
2816
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
2817
- * search starts at index 0.
2817
+ * search starts at index 0.
2818
2818
  */
2819
2819
  indexOf(searchElement: number, fromIndex?: number): number;
2820
2820
 
@@ -2982,13 +2982,13 @@ interface Int16ArrayConstructor {
2982
2982
 
2983
2983
  /**
2984
2984
  * Creates an array from an array-like or iterable object.
2985
- * @param arrayLike An array-like or iterable object to convert to an array.
2985
+ * @param arrayLike An array-like object to convert to an array.
2986
2986
  */
2987
2987
  from(arrayLike: ArrayLike<number>): Int16Array<ArrayBuffer>;
2988
2988
 
2989
2989
  /**
2990
2990
  * Creates an array from an array-like or iterable object.
2991
- * @param arrayLike An array-like or iterable object to convert to an array.
2991
+ * @param arrayLike An array-like object to convert to an array.
2992
2992
  * @param mapfn A mapping function to call on every element of the array.
2993
2993
  * @param thisArg Value of 'this' used to invoke the mapfn.
2994
2994
  */
@@ -3085,9 +3085,9 @@ interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3085
3085
 
3086
3086
  /**
3087
3087
  * Performs the specified action for each element in an array.
3088
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3088
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
3089
3089
  * callbackfn function one time for each element in the array.
3090
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3090
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3091
3091
  * If thisArg is omitted, undefined is used as the this value.
3092
3092
  */
3093
3093
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -3096,7 +3096,7 @@ interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3096
3096
  * Returns the index of the first occurrence of a value in an array.
3097
3097
  * @param searchElement The value to locate in the array.
3098
3098
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3099
- * search starts at index 0.
3099
+ * search starts at index 0.
3100
3100
  */
3101
3101
  indexOf(searchElement: number, fromIndex?: number): number;
3102
3102
 
@@ -3264,13 +3264,13 @@ interface Uint16ArrayConstructor {
3264
3264
 
3265
3265
  /**
3266
3266
  * Creates an array from an array-like or iterable object.
3267
- * @param arrayLike An array-like or iterable object to convert to an array.
3267
+ * @param arrayLike An array-like object to convert to an array.
3268
3268
  */
3269
3269
  from(arrayLike: ArrayLike<number>): Uint16Array<ArrayBuffer>;
3270
3270
 
3271
3271
  /**
3272
3272
  * Creates an array from an array-like or iterable object.
3273
- * @param arrayLike An array-like or iterable object to convert to an array.
3273
+ * @param arrayLike An array-like object to convert to an array.
3274
3274
  * @param mapfn A mapping function to call on every element of the array.
3275
3275
  * @param thisArg Value of 'this' used to invoke the mapfn.
3276
3276
  */
@@ -3366,9 +3366,9 @@ interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3366
3366
 
3367
3367
  /**
3368
3368
  * Performs the specified action for each element in an array.
3369
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3369
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
3370
3370
  * callbackfn function one time for each element in the array.
3371
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3371
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3372
3372
  * If thisArg is omitted, undefined is used as the this value.
3373
3373
  */
3374
3374
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -3377,7 +3377,7 @@ interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3377
3377
  * Returns the index of the first occurrence of a value in an array.
3378
3378
  * @param searchElement The value to locate in the array.
3379
3379
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3380
- * search starts at index 0.
3380
+ * search starts at index 0.
3381
3381
  */
3382
3382
  indexOf(searchElement: number, fromIndex?: number): number;
3383
3383
 
@@ -3545,13 +3545,13 @@ interface Int32ArrayConstructor {
3545
3545
 
3546
3546
  /**
3547
3547
  * Creates an array from an array-like or iterable object.
3548
- * @param arrayLike An array-like or iterable object to convert to an array.
3548
+ * @param arrayLike An array-like object to convert to an array.
3549
3549
  */
3550
3550
  from(arrayLike: ArrayLike<number>): Int32Array<ArrayBuffer>;
3551
3551
 
3552
3552
  /**
3553
3553
  * Creates an array from an array-like or iterable object.
3554
- * @param arrayLike An array-like or iterable object to convert to an array.
3554
+ * @param arrayLike An array-like object to convert to an array.
3555
3555
  * @param mapfn A mapping function to call on every element of the array.
3556
3556
  * @param thisArg Value of 'this' used to invoke the mapfn.
3557
3557
  */
@@ -3648,9 +3648,9 @@ interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3648
3648
 
3649
3649
  /**
3650
3650
  * Performs the specified action for each element in an array.
3651
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3651
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
3652
3652
  * callbackfn function one time for each element in the array.
3653
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3653
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3654
3654
  * If thisArg is omitted, undefined is used as the this value.
3655
3655
  */
3656
3656
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -3658,7 +3658,7 @@ interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3658
3658
  * Returns the index of the first occurrence of a value in an array.
3659
3659
  * @param searchElement The value to locate in the array.
3660
3660
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3661
- * search starts at index 0.
3661
+ * search starts at index 0.
3662
3662
  */
3663
3663
  indexOf(searchElement: number, fromIndex?: number): number;
3664
3664
 
@@ -3826,13 +3826,13 @@ interface Uint32ArrayConstructor {
3826
3826
 
3827
3827
  /**
3828
3828
  * Creates an array from an array-like or iterable object.
3829
- * @param arrayLike An array-like or iterable object to convert to an array.
3829
+ * @param arrayLike An array-like object to convert to an array.
3830
3830
  */
3831
3831
  from(arrayLike: ArrayLike<number>): Uint32Array<ArrayBuffer>;
3832
3832
 
3833
3833
  /**
3834
3834
  * Creates an array from an array-like or iterable object.
3835
- * @param arrayLike An array-like or iterable object to convert to an array.
3835
+ * @param arrayLike An array-like object to convert to an array.
3836
3836
  * @param mapfn A mapping function to call on every element of the array.
3837
3837
  * @param thisArg Value of 'this' used to invoke the mapfn.
3838
3838
  */
@@ -3929,9 +3929,9 @@ interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3929
3929
 
3930
3930
  /**
3931
3931
  * Performs the specified action for each element in an array.
3932
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
3932
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
3933
3933
  * callbackfn function one time for each element in the array.
3934
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3934
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
3935
3935
  * If thisArg is omitted, undefined is used as the this value.
3936
3936
  */
3937
3937
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -3940,7 +3940,7 @@ interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
3940
3940
  * Returns the index of the first occurrence of a value in an array.
3941
3941
  * @param searchElement The value to locate in the array.
3942
3942
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
3943
- * search starts at index 0.
3943
+ * search starts at index 0.
3944
3944
  */
3945
3945
  indexOf(searchElement: number, fromIndex?: number): number;
3946
3946
 
@@ -4108,13 +4108,13 @@ interface Float32ArrayConstructor {
4108
4108
 
4109
4109
  /**
4110
4110
  * Creates an array from an array-like or iterable object.
4111
- * @param arrayLike An array-like or iterable object to convert to an array.
4111
+ * @param arrayLike An array-like object to convert to an array.
4112
4112
  */
4113
4113
  from(arrayLike: ArrayLike<number>): Float32Array<ArrayBuffer>;
4114
4114
 
4115
4115
  /**
4116
4116
  * Creates an array from an array-like or iterable object.
4117
- * @param arrayLike An array-like or iterable object to convert to an array.
4117
+ * @param arrayLike An array-like object to convert to an array.
4118
4118
  * @param mapfn A mapping function to call on every element of the array.
4119
4119
  * @param thisArg Value of 'this' used to invoke the mapfn.
4120
4120
  */
@@ -4211,9 +4211,9 @@ interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
4211
4211
 
4212
4212
  /**
4213
4213
  * Performs the specified action for each element in an array.
4214
- * @param callbackfn A function that accepts up to three arguments. forEach calls the
4214
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
4215
4215
  * callbackfn function one time for each element in the array.
4216
- * @param thisArg An object to which the this keyword can refer in the callbackfn function.
4216
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
4217
4217
  * If thisArg is omitted, undefined is used as the this value.
4218
4218
  */
4219
4219
  forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
@@ -4222,7 +4222,7 @@ interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
4222
4222
  * Returns the index of the first occurrence of a value in an array.
4223
4223
  * @param searchElement The value to locate in the array.
4224
4224
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
4225
- * search starts at index 0.
4225
+ * search starts at index 0.
4226
4226
  */
4227
4227
  indexOf(searchElement: number, fromIndex?: number): number;
4228
4228
 
@@ -4390,13 +4390,13 @@ interface Float64ArrayConstructor {
4390
4390
 
4391
4391
  /**
4392
4392
  * Creates an array from an array-like or iterable object.
4393
- * @param arrayLike An array-like or iterable object to convert to an array.
4393
+ * @param arrayLike An array-like object to convert to an array.
4394
4394
  */
4395
4395
  from(arrayLike: ArrayLike<number>): Float64Array<ArrayBuffer>;
4396
4396
 
4397
4397
  /**
4398
4398
  * Creates an array from an array-like or iterable object.
4399
- * @param arrayLike An array-like or iterable object to convert to an array.
4399
+ * @param arrayLike An array-like object to convert to an array.
4400
4400
  * @param mapfn A mapping function to call on every element of the array.
4401
4401
  * @param thisArg Value of 'this' used to invoke the mapfn.
4402
4402
  */
@@ -24,3 +24,4 @@ and limitations under the License.
24
24
  /// <reference lib="esnext.array" />
25
25
  /// <reference lib="esnext.iterator" />
26
26
  /// <reference lib="esnext.promise" />
27
+ /// <reference lib="esnext.float16" />