Browse Source

Update Typescript target to es2017

This brings native async/await and many other features. According to http://kangax.github.io/compat-table/es2016plus/, Firefox 60 (ESR), Chrome, and Safari all support most es2017 features for a while. I don’t think we use the features that are not well supported in recent browsers.
Jason Grout 6 years ago
parent
commit
ffc37cc64e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tsconfigbase.json

+ 1 - 2
tsconfigbase.json

@@ -6,7 +6,6 @@
     "esModuleInterop": true,
     "incremental": true,
     "jsx": "react",
-    "lib": ["dom", "es2015"],
     "module": "commonjs",
     "moduleResolution": "node",
     "noEmitOnError": true,
@@ -14,7 +13,7 @@
     "noUnusedLocals": true,
     "preserveWatchOutput": true,
     "resolveJsonModule": true,
-    "target": "es2015",
+    "target": "es2017",
     "types": []
   }
 }