From d11f3cacd2702246e5b58ed76dfea233d710f2ad Mon Sep 17 00:00:00 2001 From: dotansimha Date: Tue, 24 Jan 2017 09:36:26 +0200 Subject: [PATCH] Step 1.7: Updated typscript compiler config --- tsconfig.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 6cd67040e..af8874ea4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "allowSyntheticDefaultImports": true, + "baseUrl": ".", "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, @@ -8,10 +9,20 @@ "dom", "es2015" ], - "module": "es2015", + "module": "commonjs", "moduleResolution": "node", + "paths": { + "api/*": ["./api/server/*"] + }, "sourceMap": true, - "target": "es5" + "target": "es5", + "skipLibCheck": true, + "stripInternal": true, + "noImplicitAny": false, + "types": [ + "meteor-typings", + "@types/underscore" + ] }, "include": [ "src/**/*.ts", @@ -19,7 +30,8 @@ ], "exclude": [ "node_modules", - "api/node_modules" + "api/node_modules", + "api" ], "compileOnSave": false, "atom": {