@cloudpss/tsconfig 1.1.3 → 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 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, /* Raise error on expressions and declarations with an implied 'any' type. */
6
- // "strictNullChecks": true, /* Enable strict null checks. */
7
- // "strictFunctionTypes": true, /* Enable strict checking of function types. */
8
- // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
9
- // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
10
- // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
11
- // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
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 /* Report error when not all code paths in function return a value. */,
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. */,
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "extends": "../tsconfig",
3
3
  "compilerOptions": {
4
+ // "exactOptionalPropertyTypes": true,
4
5
  "isolatedModules": true,
5
6
  "importsNotUsedAsValues": "error"
6
7
  }
package/4.4/tsconfig.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "extends": "../4.3/tsconfig",
3
3
  "compilerOptions": {
4
4
  // "exactOptionalPropertyTypes": true,
5
- // "useUnknownInCatchVariables": true // default is true
5
+ // "useUnknownInCatchVariables": true // default is true, absence for better compatibility
6
6
  }
7
7
  }
@@ -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
  }
@@ -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
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../tsconfig",
3
+ "compilerOptions": {
4
+ // "exactOptionalPropertyTypes": true,
5
+ "isolatedModules": true,
6
+ "importsNotUsedAsValues": "error"
7
+ // "preserveValueImports": true
8
+ }
9
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "../4.6/tsconfig",
3
+ "compilerOptions": {}
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudpss/tsconfig",
3
- "version": "1.1.3",
3
+ "version": "1.1.6",
4
4
  "main": "./tsconfig.json",
5
5
  "exports": {
6
6
  ".": "./tsconfig.json",
@@ -1,3 +1,3 @@
1
1
  {
2
- "extends": "./4.6/strict/tsconfig"
2
+ "extends": "../4.7/strict/tsconfig"
3
3
  }
package/tsconfig.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "extends": "./4.6/tsconfig"
2
+ "extends": "./4.7/tsconfig"
3
3
  }