Skip to content

Commit

Permalink
Set all tsconfigs to target es2020 (#12090)
Browse files Browse the repository at this point in the history
This upgrades the node/web packages to use es2020 and downgrades the
webviews bundle from esnext because that target changes over time.

Part of #11996
  • Loading branch information
Tyriar authored Nov 18, 2022
1 parent 57408a1 commit b59bb6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tsconfig.datascience-ui.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "esnext",
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es5",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.extension.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"module": "commonjs",
"target": "es6",
"target": "es2020",
"outDir": "out",
"lib": ["es6", "es2018", "ES2019", "ES2020"],
"jsx": "react",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"*": ["types/*"]
},
"module": "commonjs",
"target": "es2018",
"target": "es2020",
"outDir": "out",
"lib": ["es6", "es2018", "dom", "ES2019", "ES2020"],
"jsx": "react",
Expand Down

0 comments on commit b59bb6d

Please sign in to comment.