Skip to content

Commit 002c79b

Browse files
Bump version to 4.5.3 and LKG
1 parent ae44862 commit 002c79b

10 files changed

+2930
-2818
lines changed

lib/cancellationToken.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/lib.es5.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ interface Promise<T> {
15151515
type Awaited<T> =
15161516
T extends null | undefined ? T : // special case for `null | undefined` when not in `--strictNullChecks` mode
15171517
T extends object & { then(onfulfilled: infer F): any } ? // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped
1518-
F extends ((value: infer V) => any) ? // if the argument to `then` is callable, extracts the argument
1518+
F extends ((value: infer V, ...args: any) => any) ? // if the argument to `then` is callable, extracts the first argument
15191519
Awaited<V> : // recursively unwrap the value
15201520
never : // the argument to `then` was not callable
15211521
T; // non-object or non-thenable

lib/tsc.js

+319-302
Large diffs are not rendered by default.

lib/tsserver.js

+618-599
Large diffs are not rendered by default.

lib/tsserverlibrary.js

+594-575
Large diffs are not rendered by default.

lib/typescript.js

+503-484
Large diffs are not rendered by default.

lib/typescriptServices.js

+503-484
Large diffs are not rendered by default.

lib/typingsInstaller.js

+389-370
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": "4.5.2",
5+
"version": "4.5.3",
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
@@ -5,7 +5,7 @@ namespace ts {
55
// The following is baselined as a literal template type without intervention
66
/** The version of the TypeScript compiler release */
77
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
8-
export const version = "4.5.2" as string;
8+
export const version = "4.5.3" as string;
99

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

0 commit comments

Comments
 (0)