Skip to content

Commit 35c1ba6

Browse files
authored
Update LKG 2020 05 06 (#38371)
* Update LKG * remove now-extraneous casts
1 parent be2eb8a commit 35c1ba6

32 files changed

+14643
-6106
lines changed

lib/cs/diagnosticMessages.generated.json

Lines changed: 38 additions & 9 deletions
Large diffs are not rendered by default.

lib/de/diagnosticMessages.generated.json

Lines changed: 36 additions & 10 deletions
Large diffs are not rendered by default.

lib/es/diagnosticMessages.generated.json

Lines changed: 35 additions & 9 deletions
Large diffs are not rendered by default.

lib/fr/diagnosticMessages.generated.json

Lines changed: 33 additions & 7 deletions
Large diffs are not rendered by default.

lib/it/diagnosticMessages.generated.json

Lines changed: 35 additions & 9 deletions
Large diffs are not rendered by default.

lib/ja/diagnosticMessages.generated.json

Lines changed: 35 additions & 9 deletions
Large diffs are not rendered by default.

lib/ko/diagnosticMessages.generated.json

Lines changed: 33 additions & 7 deletions
Large diffs are not rendered by default.

lib/lib.es2015.core.d.ts

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ interface Array<T> {
6262
* @param end If not specified, length of the this object is used as its default value.
6363
*/
6464
copyWithin(target: number, start: number, end?: number): this;
65-
66-
/**
67-
* Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
68-
* @param start The zero-based location in the array from which to start removing elements.
69-
* @param deleteCount The number of elements to remove. If deleteCount is omitted, or if its value is equal to or larger
70-
* than array.length - start (that is, if it is equal to or greater than the number of elements left in the array,
71-
* starting at start), then all the elements from start to the end of the array will be deleted.
72-
*/
73-
splice(start: number, deleteCount?: number): T[];
7465
}
7566

7667
interface ArrayConstructor {
@@ -233,27 +224,27 @@ interface NumberConstructor {
233224
* number. Only finite values of the type number, result in true.
234225
* @param number A numeric value.
235226
*/
236-
isFinite(number: number): boolean;
227+
isFinite(number: unknown): boolean;
237228

238229
/**
239230
* Returns true if the value passed is an integer, false otherwise.
240231
* @param number A numeric value.
241232
*/
242-
isInteger(number: number): boolean;
233+
isInteger(number: unknown): boolean;
243234

244235
/**
245236
* Returns a Boolean value that indicates whether a value is the reserved value NaN (not a
246237
* number). Unlike the global isNaN(), Number.isNaN() doesn't forcefully convert the parameter
247238
* to a number. Only values of the type number, that are also NaN, result in true.
248239
* @param number A numeric value.
249240
*/
250-
isNaN(number: number): boolean;
241+
isNaN(number: unknown): boolean;
251242

252243
/**
253244
* Returns true if the value passed is a safe integer.
254245
* @param number A numeric value.
255246
*/
256-
isSafeInteger(number: number): boolean;
247+
isSafeInteger(number: unknown): boolean;
257248

258249
/**
259250
* The value of the largest integer n such that n and n + 1 are both exactly representable as

lib/lib.es2015.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ and limitations under the License.
2121
/// <reference lib="es5" />
2222
/// <reference lib="es2015.core" />
2323
/// <reference lib="es2015.collection" />
24+
/// <reference lib="es2015.iterable" />
2425
/// <reference lib="es2015.generator" />
2526
/// <reference lib="es2015.promise" />
26-
/// <reference lib="es2015.iterable" />
2727
/// <reference lib="es2015.proxy" />
2828
/// <reference lib="es2015.reflect" />
2929
/// <reference lib="es2015.symbol" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ interface Int8Array {
274274
}
275275

276276
interface Uint8Array {
277-
readonly [Symbol.toStringTag]: "UInt8Array";
277+
readonly [Symbol.toStringTag]: "Uint8Array";
278278
}
279279

280280
interface Uint8ClampedArray {

0 commit comments

Comments
 (0)