Skip to content

Commit 2fe7147

Browse files
committed
Update LKG
1 parent 0ff475f commit 2fe7147

16 files changed

+185
-318
lines changed

lib/lib.d.ts

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,13 +1762,6 @@ interface Int8Array {
17621762
*/
17631763
reverse(): Int8Array;
17641764

1765-
/**
1766-
* Sets a value or an array of values.
1767-
* @param index The index of the location to set.
1768-
* @param value The value to set.
1769-
*/
1770-
set(index: number, value: number): void;
1771-
17721765
/**
17731766
* Sets a value or an array of values.
17741767
* @param array A typed or untyped array of values to set.
@@ -2053,13 +2046,6 @@ interface Uint8Array {
20532046
*/
20542047
reverse(): Uint8Array;
20552048

2056-
/**
2057-
* Sets a value or an array of values.
2058-
* @param index The index of the location to set.
2059-
* @param value The value to set.
2060-
*/
2061-
set(index: number, value: number): void;
2062-
20632049
/**
20642050
* Sets a value or an array of values.
20652051
* @param array A typed or untyped array of values to set.
@@ -2345,19 +2331,12 @@ interface Uint8ClampedArray {
23452331
*/
23462332
reverse(): Uint8ClampedArray;
23472333

2348-
/**
2349-
* Sets a value or an array of values.
2350-
* @param index The index of the location to set.
2351-
* @param value The value to set.
2352-
*/
2353-
set(index: number, value: number): void;
2354-
23552334
/**
23562335
* Sets a value or an array of values.
23572336
* @param array A typed or untyped array of values to set.
23582337
* @param offset The index in the current array at which the values are to be written.
23592338
*/
2360-
set(array: Uint8ClampedArray, offset?: number): void;
2339+
set(array: ArrayLike<number>, offset?: number): void;
23612340

23622341
/**
23632342
* Returns a section of an array.
@@ -2636,13 +2615,6 @@ interface Int16Array {
26362615
*/
26372616
reverse(): Int16Array;
26382617

2639-
/**
2640-
* Sets a value or an array of values.
2641-
* @param index The index of the location to set.
2642-
* @param value The value to set.
2643-
*/
2644-
set(index: number, value: number): void;
2645-
26462618
/**
26472619
* Sets a value or an array of values.
26482620
* @param array A typed or untyped array of values to set.
@@ -2928,13 +2900,6 @@ interface Uint16Array {
29282900
*/
29292901
reverse(): Uint16Array;
29302902

2931-
/**
2932-
* Sets a value or an array of values.
2933-
* @param index The index of the location to set.
2934-
* @param value The value to set.
2935-
*/
2936-
set(index: number, value: number): void;
2937-
29382903
/**
29392904
* Sets a value or an array of values.
29402905
* @param array A typed or untyped array of values to set.
@@ -3219,13 +3184,6 @@ interface Int32Array {
32193184
*/
32203185
reverse(): Int32Array;
32213186

3222-
/**
3223-
* Sets a value or an array of values.
3224-
* @param index The index of the location to set.
3225-
* @param value The value to set.
3226-
*/
3227-
set(index: number, value: number): void;
3228-
32293187
/**
32303188
* Sets a value or an array of values.
32313189
* @param array A typed or untyped array of values to set.
@@ -3510,13 +3468,6 @@ interface Uint32Array {
35103468
*/
35113469
reverse(): Uint32Array;
35123470

3513-
/**
3514-
* Sets a value or an array of values.
3515-
* @param index The index of the location to set.
3516-
* @param value The value to set.
3517-
*/
3518-
set(index: number, value: number): void;
3519-
35203471
/**
35213472
* Sets a value or an array of values.
35223473
* @param array A typed or untyped array of values to set.
@@ -3801,13 +3752,6 @@ interface Float32Array {
38013752
*/
38023753
reverse(): Float32Array;
38033754

3804-
/**
3805-
* Sets a value or an array of values.
3806-
* @param index The index of the location to set.
3807-
* @param value The value to set.
3808-
*/
3809-
set(index: number, value: number): void;
3810-
38113755
/**
38123756
* Sets a value or an array of values.
38133757
* @param array A typed or untyped array of values to set.
@@ -4093,13 +4037,6 @@ interface Float64Array {
40934037
*/
40944038
reverse(): Float64Array;
40954039

4096-
/**
4097-
* Sets a value or an array of values.
4098-
* @param index The index of the location to set.
4099-
* @param value The value to set.
4100-
*/
4101-
set(index: number, value: number): void;
4102-
41034040
/**
41044041
* Sets a value or an array of values.
41054042
* @param array A typed or untyped array of values to set.

lib/lib.es2015.collection.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ interface ReadonlySet<T> {
7878
readonly size: number;
7979
}
8080

81-
interface WeakSet<T extends object> {
81+
interface WeakSet<T> {
8282
add(value: T): this;
8383
delete(value: T): boolean;
8484
has(value: T): boolean;

lib/lib.es2015.iterable.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ interface SetConstructor {
138138
new <T>(iterable: Iterable<T>): Set<T>;
139139
}
140140

141-
interface WeakSet<T extends object> { }
141+
interface WeakSet<T> { }
142142

143143
interface WeakSetConstructor {
144144
new <T extends object>(iterable: Iterable<T>): WeakSet<T>;

lib/lib.es2015.symbol.wellknown.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ interface Set<T> {
138138
readonly [Symbol.toStringTag]: "Set";
139139
}
140140

141-
interface WeakSet<T extends object> {
141+
interface WeakSet<T> {
142142
readonly [Symbol.toStringTag]: "WeakSet";
143143
}
144144

lib/lib.es5.d.ts

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,13 +1762,6 @@ interface Int8Array {
17621762
*/
17631763
reverse(): Int8Array;
17641764

1765-
/**
1766-
* Sets a value or an array of values.
1767-
* @param index The index of the location to set.
1768-
* @param value The value to set.
1769-
*/
1770-
set(index: number, value: number): void;
1771-
17721765
/**
17731766
* Sets a value or an array of values.
17741767
* @param array A typed or untyped array of values to set.
@@ -2053,13 +2046,6 @@ interface Uint8Array {
20532046
*/
20542047
reverse(): Uint8Array;
20552048

2056-
/**
2057-
* Sets a value or an array of values.
2058-
* @param index The index of the location to set.
2059-
* @param value The value to set.
2060-
*/
2061-
set(index: number, value: number): void;
2062-
20632049
/**
20642050
* Sets a value or an array of values.
20652051
* @param array A typed or untyped array of values to set.
@@ -2345,19 +2331,12 @@ interface Uint8ClampedArray {
23452331
*/
23462332
reverse(): Uint8ClampedArray;
23472333

2348-
/**
2349-
* Sets a value or an array of values.
2350-
* @param index The index of the location to set.
2351-
* @param value The value to set.
2352-
*/
2353-
set(index: number, value: number): void;
2354-
23552334
/**
23562335
* Sets a value or an array of values.
23572336
* @param array A typed or untyped array of values to set.
23582337
* @param offset The index in the current array at which the values are to be written.
23592338
*/
2360-
set(array: Uint8ClampedArray, offset?: number): void;
2339+
set(array: ArrayLike<number>, offset?: number): void;
23612340

23622341
/**
23632342
* Returns a section of an array.
@@ -2636,13 +2615,6 @@ interface Int16Array {
26362615
*/
26372616
reverse(): Int16Array;
26382617

2639-
/**
2640-
* Sets a value or an array of values.
2641-
* @param index The index of the location to set.
2642-
* @param value The value to set.
2643-
*/
2644-
set(index: number, value: number): void;
2645-
26462618
/**
26472619
* Sets a value or an array of values.
26482620
* @param array A typed or untyped array of values to set.
@@ -2928,13 +2900,6 @@ interface Uint16Array {
29282900
*/
29292901
reverse(): Uint16Array;
29302902

2931-
/**
2932-
* Sets a value or an array of values.
2933-
* @param index The index of the location to set.
2934-
* @param value The value to set.
2935-
*/
2936-
set(index: number, value: number): void;
2937-
29382903
/**
29392904
* Sets a value or an array of values.
29402905
* @param array A typed or untyped array of values to set.
@@ -3219,13 +3184,6 @@ interface Int32Array {
32193184
*/
32203185
reverse(): Int32Array;
32213186

3222-
/**
3223-
* Sets a value or an array of values.
3224-
* @param index The index of the location to set.
3225-
* @param value The value to set.
3226-
*/
3227-
set(index: number, value: number): void;
3228-
32293187
/**
32303188
* Sets a value or an array of values.
32313189
* @param array A typed or untyped array of values to set.
@@ -3510,13 +3468,6 @@ interface Uint32Array {
35103468
*/
35113469
reverse(): Uint32Array;
35123470

3513-
/**
3514-
* Sets a value or an array of values.
3515-
* @param index The index of the location to set.
3516-
* @param value The value to set.
3517-
*/
3518-
set(index: number, value: number): void;
3519-
35203471
/**
35213472
* Sets a value or an array of values.
35223473
* @param array A typed or untyped array of values to set.
@@ -3801,13 +3752,6 @@ interface Float32Array {
38013752
*/
38023753
reverse(): Float32Array;
38033754

3804-
/**
3805-
* Sets a value or an array of values.
3806-
* @param index The index of the location to set.
3807-
* @param value The value to set.
3808-
*/
3809-
set(index: number, value: number): void;
3810-
38113755
/**
38123756
* Sets a value or an array of values.
38133757
* @param array A typed or untyped array of values to set.
@@ -4093,13 +4037,6 @@ interface Float64Array {
40934037
*/
40944038
reverse(): Float64Array;
40954039

4096-
/**
4097-
* Sets a value or an array of values.
4098-
* @param index The index of the location to set.
4099-
* @param value The value to set.
4100-
*/
4101-
set(index: number, value: number): void;
4102-
41034040
/**
41044041
* Sets a value or an array of values.
41054042
* @param array A typed or untyped array of values to set.

0 commit comments

Comments
 (0)