Updated typescript target to ES2019 (#4869)

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
This commit is contained in:
Roman authored and DmitriyNoa committed 2022-03-03 14:40:53 +01:00
1 parent 302828ea80
commit 5c63417695
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ const getTSLoader = (options: Partial<TSLoaderOptions> = {}, testRegExp?: RegExp
loader: "esbuild-loader", loader: "esbuild-loader",
options: { options: {
loader: "tsx", loader: "tsx",
target: "es2015", target: "ES2019", // supported by >= electron@14
implementation: esbuild, implementation: esbuild,
}, },
}; };
+1 -1
View File
@@ -2,7 +2,7 @@
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"jsx": "react", "jsx": "react",
"target": "ES2017", "target": "ES2019",
"module": "ESNext", "module": "ESNext",
"lib": [ "lib": [
"ESNext", "ESNext",