typescript 5.1.0-dev.20230322 → 5.1.0-dev.20230324

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.
@@ -56,10 +56,10 @@ interface Array<T> {
56
56
  * @param target If target is negative, it is treated as length+target where length is the
57
57
  * length of the array.
58
58
  * @param start If start is negative, it is treated as length+start. If end is negative, it
59
- * is treated as length+end.
59
+ * is treated as length+end. If start is omitted, `0` is used.
60
60
  * @param end If not specified, length of the this object is used as its default value.
61
61
  */
62
- copyWithin(target: number, start: number, end?: number): this;
62
+ copyWithin(target: number, start?: number, end?: number): this;
63
63
  }
64
64
 
65
65
  interface ArrayConstructor {
@@ -165,10 +165,10 @@ interface BigInt64Array {
165
165
  * @param target If target is negative, it is treated as length+target where length is the
166
166
  * length of the array.
167
167
  * @param start If start is negative, it is treated as length+start. If end is negative, it
168
- * is treated as length+end.
168
+ * is treated as length+end. If start is omitted, `0` is used.
169
169
  * @param end If not specified, length of the this object is used as its default value.
170
170
  */
171
- copyWithin(target: number, start: number, end?: number): this;
171
+ copyWithin(target: number, start?: number, end?: number): this;
172
172
 
173
173
  /** Yields index, value pairs for every entry in the array. */
174
174
  entries(): IterableIterator<[number, bigint]>;
@@ -437,10 +437,10 @@ interface BigUint64Array {
437
437
  * @param target If target is negative, it is treated as length+target where length is the
438
438
  * length of the array.
439
439
  * @param start If start is negative, it is treated as length+start. If end is negative, it
440
- * is treated as length+end.
440
+ * is treated as length+end. If start is omitted, `0` is used.
441
441
  * @param end If not specified, length of the this object is used as its default value.
442
442
  */
443
- copyWithin(target: number, start: number, end?: number): this;
443
+ copyWithin(target: number, start?: number, end?: number): this;
444
444
 
445
445
  /** Yields index, value pairs for every entry in the array. */
446
446
  entries(): IterableIterator<[number, bigint]>;
package/lib/lib.es5.d.ts CHANGED
@@ -1867,10 +1867,10 @@ interface Int8Array {
1867
1867
  * @param target If target is negative, it is treated as length+target where length is the
1868
1868
  * length of the array.
1869
1869
  * @param start If start is negative, it is treated as length+start. If end is negative, it
1870
- * is treated as length+end.
1870
+ * is treated as length+end. If start is omitted, `0` is used.
1871
1871
  * @param end If not specified, length of the this object is used as its default value.
1872
1872
  */
1873
- copyWithin(target: number, start: number, end?: number): this;
1873
+ copyWithin(target: number, start?: number, end?: number): this;
1874
1874
 
1875
1875
  /**
1876
1876
  * Determines whether all the members of an array satisfy the specified test.
@@ -2149,10 +2149,10 @@ interface Uint8Array {
2149
2149
  * @param target If target is negative, it is treated as length+target where length is the
2150
2150
  * length of the array.
2151
2151
  * @param start If start is negative, it is treated as length+start. If end is negative, it
2152
- * is treated as length+end.
2152
+ * is treated as length+end. If start is omitted, `0` is used.
2153
2153
  * @param end If not specified, length of the this object is used as its default value.
2154
2154
  */
2155
- copyWithin(target: number, start: number, end?: number): this;
2155
+ copyWithin(target: number, start?: number, end?: number): this;
2156
2156
 
2157
2157
  /**
2158
2158
  * Determines whether all the members of an array satisfy the specified test.
@@ -2431,10 +2431,10 @@ interface Uint8ClampedArray {
2431
2431
  * @param target If target is negative, it is treated as length+target where length is the
2432
2432
  * length of the array.
2433
2433
  * @param start If start is negative, it is treated as length+start. If end is negative, it
2434
- * is treated as length+end.
2434
+ * is treated as length+end. If start is omitted, `0` is used.
2435
2435
  * @param end If not specified, length of the this object is used as its default value.
2436
2436
  */
2437
- copyWithin(target: number, start: number, end?: number): this;
2437
+ copyWithin(target: number, start?: number, end?: number): this;
2438
2438
 
2439
2439
  /**
2440
2440
  * Determines whether all the members of an array satisfy the specified test.
@@ -2712,10 +2712,10 @@ interface Int16Array {
2712
2712
  * @param target If target is negative, it is treated as length+target where length is the
2713
2713
  * length of the array.
2714
2714
  * @param start If start is negative, it is treated as length+start. If end is negative, it
2715
- * is treated as length+end.
2715
+ * is treated as length+end. If start is omitted, `0` is used.
2716
2716
  * @param end If not specified, length of the this object is used as its default value.
2717
2717
  */
2718
- copyWithin(target: number, start: number, end?: number): this;
2718
+ copyWithin(target: number, start?: number, end?: number): this;
2719
2719
 
2720
2720
  /**
2721
2721
  * Determines whether all the members of an array satisfy the specified test.
@@ -2994,10 +2994,10 @@ interface Uint16Array {
2994
2994
  * @param target If target is negative, it is treated as length+target where length is the
2995
2995
  * length of the array.
2996
2996
  * @param start If start is negative, it is treated as length+start. If end is negative, it
2997
- * is treated as length+end.
2997
+ * is treated as length+end. If start is omitted, `0` is used.
2998
2998
  * @param end If not specified, length of the this object is used as its default value.
2999
2999
  */
3000
- copyWithin(target: number, start: number, end?: number): this;
3000
+ copyWithin(target: number, start?: number, end?: number): this;
3001
3001
 
3002
3002
  /**
3003
3003
  * Determines whether all the members of an array satisfy the specified test.
@@ -3276,10 +3276,10 @@ interface Int32Array {
3276
3276
  * @param target If target is negative, it is treated as length+target where length is the
3277
3277
  * length of the array.
3278
3278
  * @param start If start is negative, it is treated as length+start. If end is negative, it
3279
- * is treated as length+end.
3279
+ * is treated as length+end. If start is omitted, `0` is used.
3280
3280
  * @param end If not specified, length of the this object is used as its default value.
3281
3281
  */
3282
- copyWithin(target: number, start: number, end?: number): this;
3282
+ copyWithin(target: number, start?: number, end?: number): this;
3283
3283
 
3284
3284
  /**
3285
3285
  * Determines whether all the members of an array satisfy the specified test.
@@ -3558,10 +3558,10 @@ interface Uint32Array {
3558
3558
  * @param target If target is negative, it is treated as length+target where length is the
3559
3559
  * length of the array.
3560
3560
  * @param start If start is negative, it is treated as length+start. If end is negative, it
3561
- * is treated as length+end.
3561
+ * is treated as length+end. If start is omitted, `0` is used.
3562
3562
  * @param end If not specified, length of the this object is used as its default value.
3563
3563
  */
3564
- copyWithin(target: number, start: number, end?: number): this;
3564
+ copyWithin(target: number, start?: number, end?: number): this;
3565
3565
 
3566
3566
  /**
3567
3567
  * Determines whether all the members of an array satisfy the specified test.
@@ -3839,10 +3839,10 @@ interface Float32Array {
3839
3839
  * @param target If target is negative, it is treated as length+target where length is the
3840
3840
  * length of the array.
3841
3841
  * @param start If start is negative, it is treated as length+start. If end is negative, it
3842
- * is treated as length+end.
3842
+ * is treated as length+end. If start is omitted, `0` is used.
3843
3843
  * @param end If not specified, length of the this object is used as its default value.
3844
3844
  */
3845
- copyWithin(target: number, start: number, end?: number): this;
3845
+ copyWithin(target: number, start?: number, end?: number): this;
3846
3846
 
3847
3847
  /**
3848
3848
  * Determines whether all the members of an array satisfy the specified test.
@@ -4122,10 +4122,10 @@ interface Float64Array {
4122
4122
  * @param target If target is negative, it is treated as length+target where length is the
4123
4123
  * length of the array.
4124
4124
  * @param start If start is negative, it is treated as length+start. If end is negative, it
4125
- * is treated as length+end.
4125
+ * is treated as length+end. If start is omitted, `0` is used.
4126
4126
  * @param end If not specified, length of the this object is used as its default value.
4127
4127
  */
4128
- copyWithin(target: number, start: number, end?: number): this;
4128
+ copyWithin(target: number, start?: number, end?: number): this;
4129
4129
 
4130
4130
  /**
4131
4131
  * Determines whether all the members of an array satisfy the specified test.