Skip to content

Commit c2ce544

Browse files
authored
Merge pull request #5907 from david-poindexter/dnn10-theme-tsconfig
Refine a few TypeScript `compilerOptions`
2 parents efa5d6d + 2628e43 commit c2ce544

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

DNN Platform/Skins/Aperture/tsconfig.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,22 @@
1616
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1717
// "composite": true, /* Enable project compilation */
1818
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
19-
// "removeComments": true, /* Do not emit comments to output. */
19+
"removeComments": true, /* Do not emit comments to output. */
2020
// "noEmit": true, /* Do not emit outputs. */
21+
"noEmitOnError": true, /* Do not emit outputs if any type checking errors were reported. */
2122
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
2223
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2324
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
2425

2526
/* Strict Type-Checking Options */
2627
"strict": true, /* Enable all strict type-checking options. */
27-
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
28-
"strictNullChecks": true, /* Enable strict null checks. */
29-
"strictFunctionTypes": true, /* Enable strict checking of function types. */
30-
"strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
31-
"strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
32-
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
33-
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
28+
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
29+
// "strictNullChecks": true, /* Enable strict null checks. */
30+
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
31+
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
32+
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
33+
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
34+
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
3435

3536
/* Additional Checks */
3637
"noUnusedLocals": true, /* Report errors on unused locals. */

0 commit comments

Comments
 (0)