Skip to content

Commit cd2ea9a

Browse files
author
Andy
authored
Update LKG (microsoft#17993)
1 parent 40f9ee4 commit cd2ea9a

17 files changed

+22294
-7259
lines changed

lib/cancellationToken.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/lib.d.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ interface ObjectConstructor {
236236
* Returns the names of the enumerable properties and methods of an object.
237237
* @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.
238238
*/
239-
keys(o: any): string[];
239+
keys(o: {}): string[];
240240
}
241241

242242
/**
@@ -1000,12 +1000,12 @@ interface ReadonlyArray<T> {
10001000
* Combines two or more arrays.
10011001
* @param items Additional items to add to the end of array1.
10021002
*/
1003-
concat(...items: T[][]): T[];
1003+
concat(...items: ReadonlyArray<T>[]): T[];
10041004
/**
10051005
* Combines two or more arrays.
10061006
* @param items Additional items to add to the end of array1.
10071007
*/
1008-
concat(...items: (T | T[])[]): T[];
1008+
concat(...items: (T | ReadonlyArray<T>)[]): T[];
10091009
/**
10101010
* Adds all the elements of an array separated by the specified separator string.
10111011
* @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.
@@ -1119,12 +1119,12 @@ interface Array<T> {
11191119
* Combines two or more arrays.
11201120
* @param items Additional items to add to the end of array1.
11211121
*/
1122-
concat(...items: T[][]): T[];
1122+
concat(...items: ReadonlyArray<T>[]): T[];
11231123
/**
11241124
* Combines two or more arrays.
11251125
* @param items Additional items to add to the end of array1.
11261126
*/
1127-
concat(...items: (T | T[])[]): T[];
1127+
concat(...items: (T | ReadonlyArray<T>)[]): T[];
11281128
/**
11291129
* Adds all the elements of an array separated by the specified separator string.
11301130
* @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ interface Map<K, V> {
130130
readonly [Symbol.toStringTag]: "Map";
131131
}
132132

133-
interface WeakMap<K extends object, V>{
133+
interface WeakMap<K extends object, V> {
134134
readonly [Symbol.toStringTag]: "WeakMap";
135135
}
136136

0 commit comments

Comments
 (0)