Skip to content

Commit fdd5cf2

Browse files
Bump version to 5.1.1-rc and LKG.
1 parent 704e766 commit fdd5cf2

10 files changed

+85531
-82503
lines changed

lib/lib.es5.d.ts

+14-4
Original file line numberDiff line numberDiff line change
@@ -4329,12 +4329,21 @@ interface Float64Array {
43294329
sort(compareFn?: (a: number, b: number) => number): this;
43304330

43314331
/**
4332+
* Gets a new Float64Array view of the ArrayBuffer store for this array, referencing the elements
43324333
* at begin, inclusive, up to end, exclusive.
43334334
* @param begin The index of the beginning of the array.
43344335
* @param end The index of the end of the array.
43354336
*/
43364337
subarray(begin?: number, end?: number): Float64Array;
43374338

4339+
/**
4340+
* Converts a number to a string by using the current locale.
4341+
*/
4342+
toLocaleString(): string;
4343+
4344+
/**
4345+
* Returns a string representation of an array.
4346+
*/
43384347
toString(): string;
43394348

43404349
/** Returns the primitive value of the specified object. */
@@ -4383,11 +4392,12 @@ declare var Float64Array: Float64ArrayConstructor;
43834392

43844393
declare namespace Intl {
43854394
interface CollatorOptions {
4386-
usage?: string | undefined;
4387-
localeMatcher?: string | undefined;
4395+
usage?: "sort" | "search" | undefined;
4396+
localeMatcher?: "lookup" | "best fit" | undefined;
43884397
numeric?: boolean | undefined;
4389-
caseFirst?: string | undefined;
4390-
sensitivity?: string | undefined;
4398+
caseFirst?: "upper" | "lower" | "false" | undefined;
4399+
sensitivity?: "base" | "accent" | "case" | "variant" | undefined;
4400+
collation?: "big5han" | "compat" | "dict" | "direct" | "ducet" | "emoji" | "eor" | "gb2312" | "phonebk" | "phonetic" | "pinyin" | "reformed" | "searchjl" | "stroke" | "trad" | "unihan" | "zhuyin" | undefined;
43914401
ignorePunctuation?: boolean | undefined;
43924402
}
43934403

lib/tsc.js

+1,187-619
Large diffs are not rendered by default.

lib/tsserver.js

+27,359-26,527
Large diffs are not rendered by default.

lib/tsserverlibrary.d.ts

+102-30
Large diffs are not rendered by default.

lib/tsserverlibrary.js

+28,471-27,628
Large diffs are not rendered by default.

lib/typescript.d.ts

+60-20
Large diffs are not rendered by default.

lib/typescript.js

+28,232-27,427
Large diffs are not rendered by default.

lib/typingsInstaller.js

+104-246
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript",
33
"author": "Microsoft Corp.",
44
"homepage": "https://www.typescriptlang.org/",
5-
"version": "5.1.0-beta",
5+
"version": "5.1.1-rc",
66
"license": "Apache-2.0",
77
"description": "TypeScript is a language for application scale JavaScript development",
88
"keywords": [

src/compiler/corePublic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const versionMajorMinor = "5.1";
44
// The following is baselined as a literal template type without intervention
55
/** The version of the TypeScript compiler release */
66
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
7-
export const version = "5.1.0-beta" as string;
7+
export const version = "5.1.1-rc" as string;
88

99
/**
1010
* Type of objects whose values are all of the same type.

0 commit comments

Comments
 (0)