Skip to content

Commit 6074b9d

Browse files
Update LKG for 5.2.1 RC.
1 parent b778ed1 commit 6074b9d

10 files changed

+3555
-2017
lines changed

lib/lib.es2015.core.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ interface Array<T> {
5656
* @param target If target is negative, it is treated as length+target where length is the
5757
* length of the array.
5858
* @param start If start is negative, it is treated as length+start. If end is negative, it
59-
* is treated as length+end. If start is omitted, `0` is used.
59+
* is treated as length+end.
6060
* @param end If not specified, length of the this object is used as its default value.
6161
*/
62-
copyWithin(target: number, start?: number, end?: number): this;
62+
copyWithin(target: number, start: number, end?: number): this;
6363
}
6464

6565
interface ArrayConstructor {

lib/lib.es2020.bigint.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ interface BigInt64Array {
165165
* @param target If target is negative, it is treated as length+target where length is the
166166
* length of the array.
167167
* @param start If start is negative, it is treated as length+start. If end is negative, it
168-
* is treated as length+end. If start is omitted, `0` is used.
168+
* is treated as length+end.
169169
* @param end If not specified, length of the this object is used as its default value.
170170
*/
171-
copyWithin(target: number, start?: number, end?: number): this;
171+
copyWithin(target: number, start: number, end?: number): this;
172172

173173
/** Yields index, value pairs for every entry in the array. */
174174
entries(): IterableIterator<[number, bigint]>;
@@ -437,10 +437,10 @@ interface BigUint64Array {
437437
* @param target If target is negative, it is treated as length+target where length is the
438438
* length of the array.
439439
* @param start If start is negative, it is treated as length+start. If end is negative, it
440-
* is treated as length+end. If start is omitted, `0` is used.
440+
* is treated as length+end.
441441
* @param end If not specified, length of the this object is used as its default value.
442442
*/
443-
copyWithin(target: number, start?: number, end?: number): this;
443+
copyWithin(target: number, start: number, end?: number): this;
444444

445445
/** Yields index, value pairs for every entry in the array. */
446446
entries(): IterableIterator<[number, bigint]>;

lib/lib.es5.d.ts

+18-18
Original file line numberDiff line numberDiff line change
@@ -1889,10 +1889,10 @@ interface Int8Array {
18891889
* @param target If target is negative, it is treated as length+target where length is the
18901890
* length of the array.
18911891
* @param start If start is negative, it is treated as length+start. If end is negative, it
1892-
* is treated as length+end. If start is omitted, `0` is used.
1892+
* is treated as length+end.
18931893
* @param end If not specified, length of the this object is used as its default value.
18941894
*/
1895-
copyWithin(target: number, start?: number, end?: number): this;
1895+
copyWithin(target: number, start: number, end?: number): this;
18961896

18971897
/**
18981898
* Determines whether all the members of an array satisfy the specified test.
@@ -2171,10 +2171,10 @@ interface Uint8Array {
21712171
* @param target If target is negative, it is treated as length+target where length is the
21722172
* length of the array.
21732173
* @param start If start is negative, it is treated as length+start. If end is negative, it
2174-
* is treated as length+end. If start is omitted, `0` is used.
2174+
* is treated as length+end.
21752175
* @param end If not specified, length of the this object is used as its default value.
21762176
*/
2177-
copyWithin(target: number, start?: number, end?: number): this;
2177+
copyWithin(target: number, start: number, end?: number): this;
21782178

21792179
/**
21802180
* Determines whether all the members of an array satisfy the specified test.
@@ -2453,10 +2453,10 @@ interface Uint8ClampedArray {
24532453
* @param target If target is negative, it is treated as length+target where length is the
24542454
* length of the array.
24552455
* @param start If start is negative, it is treated as length+start. If end is negative, it
2456-
* is treated as length+end. If start is omitted, `0` is used.
2456+
* is treated as length+end.
24572457
* @param end If not specified, length of the this object is used as its default value.
24582458
*/
2459-
copyWithin(target: number, start?: number, end?: number): this;
2459+
copyWithin(target: number, start: number, end?: number): this;
24602460

24612461
/**
24622462
* Determines whether all the members of an array satisfy the specified test.
@@ -2734,10 +2734,10 @@ interface Int16Array {
27342734
* @param target If target is negative, it is treated as length+target where length is the
27352735
* length of the array.
27362736
* @param start If start is negative, it is treated as length+start. If end is negative, it
2737-
* is treated as length+end. If start is omitted, `0` is used.
2737+
* is treated as length+end.
27382738
* @param end If not specified, length of the this object is used as its default value.
27392739
*/
2740-
copyWithin(target: number, start?: number, end?: number): this;
2740+
copyWithin(target: number, start: number, end?: number): this;
27412741

27422742
/**
27432743
* Determines whether all the members of an array satisfy the specified test.
@@ -3016,10 +3016,10 @@ interface Uint16Array {
30163016
* @param target If target is negative, it is treated as length+target where length is the
30173017
* length of the array.
30183018
* @param start If start is negative, it is treated as length+start. If end is negative, it
3019-
* is treated as length+end. If start is omitted, `0` is used.
3019+
* is treated as length+end.
30203020
* @param end If not specified, length of the this object is used as its default value.
30213021
*/
3022-
copyWithin(target: number, start?: number, end?: number): this;
3022+
copyWithin(target: number, start: number, end?: number): this;
30233023

30243024
/**
30253025
* Determines whether all the members of an array satisfy the specified test.
@@ -3298,10 +3298,10 @@ interface Int32Array {
32983298
* @param target If target is negative, it is treated as length+target where length is the
32993299
* length of the array.
33003300
* @param start If start is negative, it is treated as length+start. If end is negative, it
3301-
* is treated as length+end. If start is omitted, `0` is used.
3301+
* is treated as length+end.
33023302
* @param end If not specified, length of the this object is used as its default value.
33033303
*/
3304-
copyWithin(target: number, start?: number, end?: number): this;
3304+
copyWithin(target: number, start: number, end?: number): this;
33053305

33063306
/**
33073307
* Determines whether all the members of an array satisfy the specified test.
@@ -3580,10 +3580,10 @@ interface Uint32Array {
35803580
* @param target If target is negative, it is treated as length+target where length is the
35813581
* length of the array.
35823582
* @param start If start is negative, it is treated as length+start. If end is negative, it
3583-
* is treated as length+end. If start is omitted, `0` is used.
3583+
* is treated as length+end.
35843584
* @param end If not specified, length of the this object is used as its default value.
35853585
*/
3586-
copyWithin(target: number, start?: number, end?: number): this;
3586+
copyWithin(target: number, start: number, end?: number): this;
35873587

35883588
/**
35893589
* Determines whether all the members of an array satisfy the specified test.
@@ -3861,10 +3861,10 @@ interface Float32Array {
38613861
* @param target If target is negative, it is treated as length+target where length is the
38623862
* length of the array.
38633863
* @param start If start is negative, it is treated as length+start. If end is negative, it
3864-
* is treated as length+end. If start is omitted, `0` is used.
3864+
* is treated as length+end.
38653865
* @param end If not specified, length of the this object is used as its default value.
38663866
*/
3867-
copyWithin(target: number, start?: number, end?: number): this;
3867+
copyWithin(target: number, start: number, end?: number): this;
38683868

38693869
/**
38703870
* Determines whether all the members of an array satisfy the specified test.
@@ -4144,10 +4144,10 @@ interface Float64Array {
41444144
* @param target If target is negative, it is treated as length+target where length is the
41454145
* length of the array.
41464146
* @param start If start is negative, it is treated as length+start. If end is negative, it
4147-
* is treated as length+end. If start is omitted, `0` is used.
4147+
* is treated as length+end.
41484148
* @param end If not specified, length of the this object is used as its default value.
41494149
*/
4150-
copyWithin(target: number, start?: number, end?: number): this;
4150+
copyWithin(target: number, start: number, end?: number): this;
41514151

41524152
/**
41534153
* Determines whether all the members of an array satisfy the specified test.

0 commit comments

Comments
 (0)