Skip to content

Commit

Permalink
Updated typescript target to ES2019 (#4869)
Browse files Browse the repository at this point in the history
  • Loading branch information
ixrock authored Feb 25, 2022
1 parent ff55719 commit 476ca25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/getTSLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const getTSLoader = (options: Partial<TSLoaderOptions> = {}, testRegExp?: RegExp
loader: "esbuild-loader",
options: {
loader: "tsx",
target: "es2015",
target: "ES2019", // supported by >= electron@14
implementation: esbuild,
},
};
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"jsx": "react",
"target": "ES2017",
"target": "ES2019",
"module": "ESNext",
"lib": [
"ESNext",
Expand Down

0 comments on commit 476ca25

Please sign in to comment.