From dc4c7e41121c6f1e2e69fa04f4bfa3e59fcc4c20 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Wed, 14 Jun 2023 09:36:30 +0700 Subject: [PATCH] chore(web): primary tsconfig tidyup, comments --- web/tsconfig.base.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web/tsconfig.base.json b/web/tsconfig.base.json index 90585bd14e..a2b78b7b15 100644 --- a/web/tsconfig.base.json +++ b/web/tsconfig.base.json @@ -2,18 +2,20 @@ "extends": "../tsconfig-base.json", "compilerOptions": { - "allowJs": false, + // Primary settings - the version of ES6 we can target in TS, our downcompile target, + // and our module-related settings. + "allowSyntheticDefaultImports": true, "lib": ["es6"], "module": "es6", "moduleResolution": "Node16", "target": "es5", + // Other settings - declaration files, sourcemapping, and other miscellaneous bits. + "allowJs": false, "declaration": true, + "experimentalDecorators": true, "importHelpers": true, "inlineSources": true, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "sourceMap": true, } }