You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Returns the names of the enumerable properties and methods of an object.
258
+
* Returns the names of the enumerable string properties and methods of an object.
259
259
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
260
260
*/
261
-
keys(o: {}): string[];
261
+
keys(o: object): string[];
262
262
}
263
263
264
264
/**
@@ -533,7 +533,7 @@ interface Boolean {
533
533
534
534
interfaceBooleanConstructor{
535
535
new(value?: any): Boolean;
536
-
(value?: any): boolean;
536
+
<T>(value?: T): boolean;
537
537
readonlyprototype: Boolean;
538
538
}
539
539
@@ -1293,13 +1293,13 @@ interface Array<T> {
1293
1293
* @param callbackfn A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
1294
1294
* @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.
* Determines whether the specified callback function returns true for any element of an array.
1299
1299
* @param callbackfn A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
1300
1300
* @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.
* Performs the specified action for each element in an array.
1305
1305
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
@@ -1323,7 +1323,7 @@ interface Array<T> {
1323
1323
* @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
1324
1324
* @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.
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
1329
1329
* @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
@@ -1463,6 +1463,11 @@ type Exclude<T, U> = T extends U ? never : T;
1463
1463
*/
1464
1464
typeExtract<T,U>=TextendsU ? T : never;
1465
1465
1466
+
/**
1467
+
* Construct a type with the properties of T except for those in type K.
0 commit comments