@cloudpss/tsconfig 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/4.0/tsconfig.json +11 -8
- package/4.4/strict/tsconfig.json +1 -0
- package/4.4/tsconfig.json +1 -1
- package/4.5/strict/tsconfig.json +3 -2
- package/4.6/strict/tsconfig.json +3 -2
- package/4.7/strict/tsconfig.json +9 -0
- package/4.7/tsconfig.json +4 -0
- package/package.json +1 -1
- package/strict/tsconfig.json +2 -2
- package/tsconfig.json +1 -1
package/4.0/tsconfig.json
CHANGED
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
/* Strict Type-Checking Options */
|
|
4
4
|
"strict": true /* Enable all strict type-checking options. */,
|
|
5
|
-
// "noImplicitAny": true,
|
|
6
|
-
// "strictNullChecks": true,
|
|
7
|
-
// "strictFunctionTypes": true,
|
|
8
|
-
// "strictBindCallApply": true,
|
|
9
|
-
// "strictPropertyInitialization": true,
|
|
10
|
-
// "noImplicitThis": true,
|
|
11
|
-
// "
|
|
5
|
+
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
6
|
+
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
7
|
+
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
8
|
+
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
9
|
+
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
10
|
+
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
11
|
+
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
12
|
+
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
12
13
|
|
|
13
14
|
/* Additional Checks */
|
|
14
15
|
"noUnusedLocals": false /* Report errors on unused locals. Will check by eslint. */,
|
|
15
16
|
"noUnusedParameters": false /* Report errors on unused parameters. Will check by eslint. */,
|
|
16
|
-
"noImplicitReturns": true /*
|
|
17
|
+
"noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
|
|
17
18
|
"noFallthroughCasesInSwitch": false /* Report errors for fallthrough cases in switch statement. Will check by eslint. */,
|
|
19
|
+
"allowUnusedLabels": false /* Disable error reporting for unused labels. */,
|
|
20
|
+
"allowUnreachableCode": false /* Disable error reporting for unreachable code. */,
|
|
18
21
|
|
|
19
22
|
/* Advanced Options */
|
|
20
23
|
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
package/4.4/strict/tsconfig.json
CHANGED
package/4.4/tsconfig.json
CHANGED
package/4.5/strict/tsconfig.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "../tsconfig",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
+
// "exactOptionalPropertyTypes": true,
|
|
4
5
|
"isolatedModules": true,
|
|
5
|
-
"importsNotUsedAsValues": "error"
|
|
6
|
-
"preserveValueImports": true
|
|
6
|
+
"importsNotUsedAsValues": "error"
|
|
7
|
+
// "preserveValueImports": true
|
|
7
8
|
}
|
|
8
9
|
}
|
package/4.6/strict/tsconfig.json
CHANGED
package/package.json
CHANGED
package/strict/tsconfig.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "../4.
|
|
3
|
-
}
|
|
2
|
+
"extends": "../4.7/strict/tsconfig"
|
|
3
|
+
}
|
package/tsconfig.json
CHANGED