From b316dd0edb2304d408fdde0e297b643230ef47de Mon Sep 17 00:00:00 2001 From: Tiago Schenkel Date: Wed, 1 Aug 2018 19:13:49 +0200 Subject: [PATCH] enable es7 lib and update compiler options --- tsconfig.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 37aae08..5d14557 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,17 +2,24 @@ "compilerOptions": { "outDir": "lib", "target": "es5", - "lib": ["es6", "dom"], + "lib": ["es7", "dom"], + "types": ["reflect-metadata"], + "sourceMap": true, + "inlineSources": true, "module": "commonjs", "moduleResolution": "node", - "declaration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "removeComments": false, + "strict": false, "noImplicitAny": true, - "noUnusedParameters": false, + "strictNullChecks": false, + "noImplicitThis": false, + "alwaysStrict": true, "noUnusedLocals": true, - "removeComments": true, - "sourceMap": false + "noUnusedParameters": false, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true }, "include": [ "./src/**/*.ts"