11{
22 "compilerOptions" : {
33 /* Basic Options */
4- "target" : " ES6 " , /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
4+ "target" : " es6 " , /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
55 "module" : " commonjs" , /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
66 "lib" : [
77 " dom" ,
8- " ES6" ,
9- " ScriptHost"
8+ " es6" ,
9+ " dom.iterable" ,
10+ " scripthost"
1011 ], /* Specify library files to be included in the compilation. */
1112 // "allowJs": true, /* Allow javascript files to be compiled. */
1213 // "checkJs": true, /* Report errors in .js files. */
1314 // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
1415 // "declaration": true, /* Generates corresponding '.d.ts' file. */
1516 // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
16- "sourceMap" : true , /* Generates corresponding '.map' file. */
17+ // "sourceMap": true, /* Generates corresponding '.map' file. */
1718 // "outFile": "./", /* Concatenate and emit output to single file. */
18- // "outDir": "./", /* Redirect output structure to the directory. */
19- // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
19+ "outDir" : " ./dist " , /* Redirect output structure to the directory. */
20+ "rootDir" : " ./src " , /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
2021 // "composite": true, /* Enable project compilation */
21- // "removeComments": true, /* Do not emit comments to output. */
22+ "removeComments" : true , /* Do not emit comments to output. */
2223 // "noEmit": true, /* Do not emit outputs. */
2324 // "importHelpers": true, /* Import emit helpers from 'tslib'. */
2425 // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2526 // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
27+ "noEmitOnError" : true ,
2628
2729 /* Strict Type-Checking Options */
2830 "strict" : true , /* Enable all strict type-checking options. */
29- // "noImplicitAny": true , /* Raise error on expressions and declarations with an implied 'any' type. */
31+ // "noImplicitAny": false , /* Raise error on expressions and declarations with an implied 'any' type. */
3032 // "strictNullChecks": true, /* Enable strict null checks. */
3133 // "strictFunctionTypes": true, /* Enable strict checking of function types. */
3234 // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
3537 // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
3638
3739 /* Additional Checks */
38- // "noUnusedLocals": true, /* Report errors on unused locals. */
39- // "noUnusedParameters": true, /* Report errors on unused parameters. */
40- // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
40+ "noUnusedLocals" : true , /* Report errors on unused locals. */
41+ "noUnusedParameters" : true , /* Report errors on unused parameters. */
42+ "noImplicitReturns" : true , /* Report error when not all code paths in function return a value. */
4143 // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
4244
4345 /* Module Resolution Options */
6264 // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6365 },
6466 "exclude" : [
65- " analytics.ts" ,
66- " *.dev.ts" ,
67- " node_modules"
68- ],
69- "include" : [ // cold include folders
70- " app.ts"
71- ],
72- "files" : [ // only files, no folders
73- " app.ts"
67+ " node_modules" // would be the default
7468 ]
75- }
69+ }
0 commit comments