mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Bump version to 4.5.3 and LKG
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -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
File diff suppressed because it is too large
Load Diff
+618
-599
File diff suppressed because it is too large
Load Diff
+594
-575
File diff suppressed because it is too large
Load Diff
+503
-484
File diff suppressed because it is too large
Load Diff
+503
-484
File diff suppressed because it is too large
Load Diff
+389
-370
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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": [
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user