From 5678e181e7d599088771f9141b1ec18178b2ab48 Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Thu, 23 Nov 2017 01:44:22 +0700 Subject: [PATCH] bundle up all strict typechecking option to the `--strict` flag --- tsconfig.json | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 887d82a..8e31303 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,21 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es5", - "outDir": "dist", - "baseUrl": "src/", - "sourceMap": true, - "alwaysStrict": true, - "experimentalDecorators": true, - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "strictNullChecks": true, + "compilerOptions": { + "module": "commonjs", + "target": "es5", + "outDir": "dist", + "baseUrl": "src/", + "sourceMap": true, + "strict": true, + "experimentalDecorators": true, + "noImplicitReturns": true, "allowSyntheticDefaultImports": true, - "allowUnreachableCode": false, - "types": [ - "lodash", - "typed-screeps" - ] - }, - "exclude": [ - "node_modules" - ] + "allowUnreachableCode": false, + "types": [ + "lodash", + "typed-screeps" + ] + }, + "exclude": [ + "node_modules" + ] }