From 54fca1f4f44af69c42c55802d587086262cdaba8 Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Fri, 3 Apr 2020 10:18:36 +0300 Subject: [PATCH] More strict compiler options --- tsconfig.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 62ce029..cb28352 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,12 @@ { "compilerOptions": { - "outDir": "./dist", "allowJs": true, - "target": "ES2018", + "isolatedModules": true, "module": "commonjs", + "outDir": "./dist", "strictNullChecks": true, + "strictPropertyInitialization": true, + "target": "ES2018", "types": ["node", "url-parse", "jquery", "nanoid", "mocha", "chai"] }, "include": [