Skip to content

Commit ed9cde9

Browse files
Update LKG
1 parent 3e72e52 commit ed9cde9

12 files changed

+1492
-1416
lines changed

lib/lib.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ interface Int8Array {
16551655
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
16561656
* If thisArg is omitted, undefined is used as the this value.
16571657
*/
1658-
map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg: any): Int8Array;
1658+
map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;
16591659

16601660
/**
16611661
* Calls the specified callback function for all the elements in an array. The return value of
@@ -1922,7 +1922,7 @@ interface Uint8Array {
19221922
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
19231923
* If thisArg is omitted, undefined is used as the this value.
19241924
*/
1925-
map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg: any): Uint8Array;
1925+
map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;
19261926

19271927
/**
19281928
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2189,7 +2189,7 @@ interface Uint8ClampedArray {
21892189
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
21902190
* If thisArg is omitted, undefined is used as the this value.
21912191
*/
2192-
map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg: any): Uint8ClampedArray;
2192+
map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;
21932193

21942194
/**
21952195
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2454,7 +2454,7 @@ interface Int16Array {
24542454
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
24552455
* If thisArg is omitted, undefined is used as the this value.
24562456
*/
2457-
map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg: any): Int16Array;
2457+
map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;
24582458

24592459
/**
24602460
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2722,7 +2722,7 @@ interface Uint16Array {
27222722
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
27232723
* If thisArg is omitted, undefined is used as the this value.
27242724
*/
2725-
map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg: any): Uint16Array;
2725+
map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;
27262726

27272727
/**
27282728
* Calls the specified callback function for all the elements in an array. The return value of
@@ -3255,7 +3255,7 @@ interface Uint32Array {
32553255
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
32563256
* If thisArg is omitted, undefined is used as the this value.
32573257
*/
3258-
map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg: any): Uint32Array;
3258+
map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;
32593259

32603260
/**
32613261
* Calls the specified callback function for all the elements in an array. The return value of
@@ -3522,7 +3522,7 @@ interface Float32Array {
35223522
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
35233523
* If thisArg is omitted, undefined is used as the this value.
35243524
*/
3525-
map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg: any): Float32Array;
3525+
map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;
35263526

35273527
/**
35283528
* Calls the specified callback function for all the elements in an array. The return value of

lib/lib.es5.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ interface Int8Array {
16551655
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
16561656
* If thisArg is omitted, undefined is used as the this value.
16571657
*/
1658-
map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg: any): Int8Array;
1658+
map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;
16591659

16601660
/**
16611661
* Calls the specified callback function for all the elements in an array. The return value of
@@ -1922,7 +1922,7 @@ interface Uint8Array {
19221922
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
19231923
* If thisArg is omitted, undefined is used as the this value.
19241924
*/
1925-
map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg: any): Uint8Array;
1925+
map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;
19261926

19271927
/**
19281928
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2189,7 +2189,7 @@ interface Uint8ClampedArray {
21892189
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
21902190
* If thisArg is omitted, undefined is used as the this value.
21912191
*/
2192-
map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg: any): Uint8ClampedArray;
2192+
map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;
21932193

21942194
/**
21952195
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2454,7 +2454,7 @@ interface Int16Array {
24542454
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
24552455
* If thisArg is omitted, undefined is used as the this value.
24562456
*/
2457-
map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg: any): Int16Array;
2457+
map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;
24582458

24592459
/**
24602460
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2722,7 +2722,7 @@ interface Uint16Array {
27222722
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
27232723
* If thisArg is omitted, undefined is used as the this value.
27242724
*/
2725-
map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg: any): Uint16Array;
2725+
map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;
27262726

27272727
/**
27282728
* Calls the specified callback function for all the elements in an array. The return value of
@@ -3255,7 +3255,7 @@ interface Uint32Array {
32553255
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
32563256
* If thisArg is omitted, undefined is used as the this value.
32573257
*/
3258-
map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg: any): Uint32Array;
3258+
map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;
32593259

32603260
/**
32613261
* Calls the specified callback function for all the elements in an array. The return value of
@@ -3522,7 +3522,7 @@ interface Float32Array {
35223522
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
35233523
* If thisArg is omitted, undefined is used as the this value.
35243524
*/
3525-
map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg: any): Float32Array;
3525+
map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;
35263526

35273527
/**
35283528
* Calls the specified callback function for all the elements in an array. The return value of

lib/lib.es6.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ interface Int8Array {
16551655
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
16561656
* If thisArg is omitted, undefined is used as the this value.
16571657
*/
1658-
map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg: any): Int8Array;
1658+
map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;
16591659

16601660
/**
16611661
* Calls the specified callback function for all the elements in an array. The return value of
@@ -1922,7 +1922,7 @@ interface Uint8Array {
19221922
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
19231923
* If thisArg is omitted, undefined is used as the this value.
19241924
*/
1925-
map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg: any): Uint8Array;
1925+
map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;
19261926

19271927
/**
19281928
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2189,7 +2189,7 @@ interface Uint8ClampedArray {
21892189
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
21902190
* If thisArg is omitted, undefined is used as the this value.
21912191
*/
2192-
map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg: any): Uint8ClampedArray;
2192+
map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;
21932193

21942194
/**
21952195
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2454,7 +2454,7 @@ interface Int16Array {
24542454
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
24552455
* If thisArg is omitted, undefined is used as the this value.
24562456
*/
2457-
map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg: any): Int16Array;
2457+
map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;
24582458

24592459
/**
24602460
* Calls the specified callback function for all the elements in an array. The return value of
@@ -2722,7 +2722,7 @@ interface Uint16Array {
27222722
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
27232723
* If thisArg is omitted, undefined is used as the this value.
27242724
*/
2725-
map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg: any): Uint16Array;
2725+
map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;
27262726

27272727
/**
27282728
* Calls the specified callback function for all the elements in an array. The return value of
@@ -3255,7 +3255,7 @@ interface Uint32Array {
32553255
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
32563256
* If thisArg is omitted, undefined is used as the this value.
32573257
*/
3258-
map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg: any): Uint32Array;
3258+
map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;
32593259

32603260
/**
32613261
* Calls the specified callback function for all the elements in an array. The return value of
@@ -3522,7 +3522,7 @@ interface Float32Array {
35223522
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
35233523
* If thisArg is omitted, undefined is used as the this value.
35243524
*/
3525-
map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg: any): Float32Array;
3525+
map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;
35263526

35273527
/**
35283528
* Calls the specified callback function for all the elements in an array. The return value of

0 commit comments

Comments
 (0)