Skip to content

Commit b07ed33

Browse files
Merge branch 'master' into release-3.9
2 parents 74f219e + 1b8c68d commit b07ed33

File tree

1,818 files changed

+118284
-27355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,818 files changed

+118284
-27355
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ contact_links:
1414
name: "TypeScript FAQ"
1515
url: "https://github.com/microsoft/TypeScript/wiki/FAQ"
1616
-
17-
about: "Please raise issues about the site on it's own repo."
17+
about: "Please raise issues about the site on its own repo."
1818
name: Website
1919
url: "https://github.com/microsoft/TypeScript-Website/issues/new"

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [8.x, 10.x, 12.x]
19+
node-version: [10.x, 12.x, 13.x]
2020

2121
steps:
2222
- uses: actions/checkout@v1
@@ -35,6 +35,7 @@ jobs:
3535
npm install
3636
npm update
3737
npm test
38+
3839
- name: Validate the browser can import TypeScript
3940
run: gulp test-browser-integration
4041

lib/cs/diagnosticMessages.generated.json

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

lib/de/diagnosticMessages.generated.json

Lines changed: 42 additions & 4 deletions
Large diffs are not rendered by default.

lib/es/diagnosticMessages.generated.json

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

lib/fr/diagnosticMessages.generated.json

Lines changed: 46 additions & 8 deletions
Large diffs are not rendered by default.

lib/it/diagnosticMessages.generated.json

Lines changed: 114 additions & 76 deletions
Large diffs are not rendered by default.

lib/ja/diagnosticMessages.generated.json

Lines changed: 51 additions & 13 deletions
Large diffs are not rendered by default.

lib/ko/diagnosticMessages.generated.json

Lines changed: 46 additions & 8 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

0 commit comments

Comments
 (0)