Bump version to 4.5.3 and LKG

This commit is contained in:
TypeScript Bot
2021-12-07 23:41:28 +00:00
parent ae448625b0
commit 002c79bf50
10 changed files with 2930 additions and 2818 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ function createCancellationToken(args) {
},
resetRequest: function (requestId) {
if (currentRequestId_1 !== requestId) {
throw new Error("Mismatched request id, expected " + currentRequestId_1 + ", actual " + requestId);
throw new Error("Mismatched request id, expected ".concat(currentRequestId_1, ", actual ").concat(requestId));
}
perRequestPipeName_1 = undefined;
}
+1 -1
View File
@@ -1515,7 +1515,7 @@ interface Promise<T> {
type Awaited<T> =
T extends null | undefined ? T : // special case for `null | undefined` when not in `--strictNullChecks` mode
T extends object & { then(onfulfilled: infer F): any } ? // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped
F extends ((value: infer V) => any) ? // if the argument to `then` is callable, extracts the argument
F extends ((value: infer V, ...args: any) => any) ? // if the argument to `then` is callable, extracts the first argument
Awaited<V> : // recursively unwrap the value
never : // the argument to `then` was not callable
T; // non-object or non-thenable
+319 -302
View File
File diff suppressed because it is too large Load Diff
+618 -599
View File
File diff suppressed because it is too large Load Diff
+594 -575
View File
File diff suppressed because it is too large Load Diff
+503 -484
View File
File diff suppressed because it is too large Load Diff
+503 -484
View File
File diff suppressed because it is too large Load Diff
+389 -370
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "typescript",
"author": "Microsoft Corp.",
"homepage": "https://www.typescriptlang.org/",
"version": "4.5.2",
"version": "4.5.3",
"license": "Apache-2.0",
"description": "TypeScript is a language for application scale JavaScript development",
"keywords": [
+1 -1
View File
@@ -5,7 +5,7 @@ namespace ts {
// The following is baselined as a literal template type without intervention
/** The version of the TypeScript compiler release */
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
export const version = "4.5.2" as string;
export const version = "4.5.3" as string;
/**
* Type of objects whose values are all of the same type.