X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Ftsconfig.json;h=7cfd8755401edc050450e9f905842b13bacf4e56;hb=fb9a5699b247ad1518c5714224396205485a3c4c;hp=457bef42e45a40eae0db11b5c02f93995fbbc7aa;hpb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/tsconfig.json b/webapp-frontend/tsconfig.json index 457bef4..7cfd875 100644 --- a/webapp-frontend/tsconfig.json +++ b/webapp-frontend/tsconfig.json @@ -1,7 +1,7 @@ { "compileOnSave": false, "compilerOptions": { - "baseUrl": "./", + "baseUrl": "./src", "downlevelIteration": true, "outDir": "./dist/out-tsc", "sourceMap": true, @@ -11,7 +11,18 @@ "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 + } }