Skip to content

Commit

Permalink
chore: upgrade to TypeScript 4.5 (tensorflow#5462)
Browse files Browse the repository at this point in the history
This change upgrades TypeScript library and change the runtime library
we use to ES2021 while opting into module system of ES2022.
  • Loading branch information
stephanwlee authored Dec 14, 2021
1 parent 8f54f42 commit 6bf5183
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"rollup": "^2.56.2",
"terser": "^5.7.1",
"tslib": "^2.3.0",
"typescript": "4.4.2"
"typescript": "4.5.4"
},
"dependencies": {
"@angular/animations": "^12.2.0",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"experimentalDecorators": true,
"importHelpers": true,
"inlineSourceMap": true,
"lib": ["dom", "es2020", "dom.iterable"],
"lib": ["dom", "es2021", "dom.iterable"],
"moduleResolution": "node",
"module": "es2022",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5108,10 +5108,10 @@ type-is@~1.6.17:
media-typer "0.3.0"
mime-types "~2.1.24"

typescript@4.4.2:
version "4.4.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86"
integrity sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==
typescript@4.5.4:
version "4.5.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.4.tgz#a17d3a0263bf5c8723b9c52f43c5084edf13c2e8"
integrity sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==

typescript@~4.3.5:
version "4.3.5"
Expand Down

0 comments on commit 6bf5183

Please sign in to comment.