Fix mistakes in docs.
[portal/nonrtric-controlpanel.git] / webapp-frontend / tsconfig.json
index 457bef4..7cfd875 100644 (file)
@@ -1,7 +1,7 @@
 {
   "compileOnSave": false,
   "compilerOptions": {
-    "baseUrl": "./",
+    "baseUrl": "./src",
     "downlevelIteration": true,
     "outDir": "./dist/out-tsc",
     "sourceMap": true,
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
     "importHelpers": true,
-    "target": "es5",
+    "resolveJsonModule": true,
+    "target": "es2015",
+    "paths": {
+      "@angular/*": [ "../node_modules/@angular/*" ],
+      "@app/*": ["app/*"],
+      "@interfaces/*": ["app/interfaces/*"],
+      "@ei-coordinator/*": ["app/ei-coordinator/*"],
+      "@policy/*": ["app/policy/*"],
+      "@services/*": ["app/services/*"],
+      "@navigation/*": ["app/navigation/*"],
+      "@ui/*": ["app/ui/*"],
+    },
     "typeRoots": [
       "node_modules/@types"
     ],
@@ -19,5 +30,9 @@
       "es2018",
       "dom"
     ]
-  }
+  },
+    "angularCompilerOptions": {
+      "strictTemplates": true,
+      "fullTemplateTypeCheck": true
+    }
 }