From 3517e796f650b8aed52165c1a5905456f54033ef Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 10 Jan 2018 14:31:40 +0800 Subject: [PATCH] 项目路径 配置,以适应可能的框架更新 --- tsconfig.json | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 0656b07..448f1bd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,8 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "target": "es5", "typeRoots": [ "node_modules/@types" @@ -17,10 +19,12 @@ ], "baseUrl": "src/", "paths": { - "@shared": [ "app/shared" ], - "@shared/*": [ "app/shared/*" ], - "@core": [ "app/core/" ], - "@core/*": [ "app/core/*" ] + "@shared": [ "app/shared" ], + "@shared/*": [ "app/shared/*" ], + "@core": [ "app/core/" ], + "@core/*": [ "app/core/*" ], + "@business": [ "app/business/" ], + "@business/*": [ "app/business/*" ] } } } -- Gitblit v1.8.0