瀏覽代碼

tsconfig: format file

Torkel Ödegaard 7 年之前
父節點
當前提交
ceadced6f0
共有 1 個文件被更改,包括 7 次插入16 次删除
  1. 7 16
      tsconfig.json

+ 7 - 16
tsconfig.json

@@ -3,10 +3,7 @@
     "moduleResolution": "node",
     "outDir": "public/dist",
     "target": "es5",
-    "lib": [
-      "es6",
-      "dom"
-    ],
+    "lib": ["es6", "dom"],
     "rootDir": "public/",
     "jsx": "react",
     "module": "esnext",
@@ -14,9 +11,9 @@
     "allowSyntheticDefaultImports": true,
     "esModuleInterop": true,
     "forceConsistentCasingInFileNames": true,
-    "importHelpers": true, // importing helper functions from tslib
-    "noEmitHelpers": true, // disable emitting inline helper functions
-    "removeComments": false, // comments are needed by angular injections
+    "importHelpers": true,
+    "noEmitHelpers": true,
+    "removeComments": false,
     "inlineSourceMap": false,
     "sourceMap": true,
     "noEmitOnError": false,
@@ -30,14 +27,8 @@
     "baseUrl": "public",
     "pretty": true,
     "paths": {
-      "app": [
-        "app"
-      ]
+      "app": ["app"]
     }
   },
-  "include": [
-    "public/app/**/*.ts",
-    "public/app/**/*.tsx",
-    "public/test/**/*.ts"
-  ]
-}
+  "include": ["public/app/**/*.ts", "public/app/**/*.tsx", "public/test/**/*.ts"]
+}