瀏覽代碼

Target esNext in tsconfig

Andrew Swistak 6 年之前
父節點
當前提交
da275a42ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.json

@@ -6,7 +6,7 @@
     "experimentalDecorators": true,
     "jsx": "react",
     "lib": ["es6", "dom"],
-    "module": "commonjs",
+    "module": "esNext",
     "moduleResolution": "node",
     "sourceMap": true,
     "target": "es6"