chore: minor tweaks to tsconfig.json

This commit is contained in:
abhijithvijayan 2020-01-30 20:03:42 +05:30
parent d8f4e79e20
commit 892797233b

View File

@ -4,14 +4,21 @@
"outDir": "dist",
/* for manifest/index.js */
"allowJs": true,
"target": "ES2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "es6", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "esnext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"jsx": "react",
"lib": ["dom", "es6"], /* Specify library files to be included in the compilation. */
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"removeComments": true, /* Do not emit comments to output. */
"noEmit": true, /* Do not emit outputs. */
"noEmitOnError": true,
"esModuleInterop": true,
"isolatedModules": true,
/* Strict Type-Checking Options */
"strict": true,
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */