mirror of https://github.com/vladmandic/human
full ts strict typechecks
parent
e9f4145b60
commit
29f049e0a2
|
@ -1,22 +1,27 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "es2020",
|
"module": "esnext",
|
||||||
"target": "es2018",
|
"target": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"typeRoots": ["node_modules/@types"],
|
|
||||||
"outDir": "types",
|
"outDir": "types",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": { "tslib": ["node_modules/tslib/tslib.d.ts"] },
|
"paths": { "tslib": ["node_modules/tslib/tslib.d.ts"] },
|
||||||
"noEmitOnError": false,
|
|
||||||
"declaration": true,
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": false,
|
||||||
"allowUnreachableCode": false,
|
"allowUnreachableCode": false,
|
||||||
"allowUnusedLabels": false,
|
"allowUnusedLabels": false,
|
||||||
"alwaysStrict": true,
|
"alwaysStrict": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
|
"esModuleInterop": false,
|
||||||
|
"exactOptionalPropertyTypes": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
|
"importsNotUsedAsValues": "error",
|
||||||
|
"noEmitHelpers": true,
|
||||||
|
"noEmitOnError": false,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"noImplicitOverride": true,
|
"noImplicitOverride": true,
|
||||||
|
@ -26,7 +31,7 @@
|
||||||
"noUncheckedIndexedAccess": false,
|
"noUncheckedIndexedAccess": false,
|
||||||
"noUnusedLocals": false,
|
"noUnusedLocals": false,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"preserveConstEnums": true,
|
"preserveConstEnums": false,
|
||||||
"pretty": true,
|
"pretty": true,
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
|
@ -35,7 +40,10 @@
|
||||||
"strictBindCallApply": true,
|
"strictBindCallApply": true,
|
||||||
"strictFunctionTypes": true,
|
"strictFunctionTypes": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"strictPropertyInitialization": true
|
"strictPropertyInitialization": true,
|
||||||
|
"stripInternal": false,
|
||||||
|
"useDefineForClassFields": true,
|
||||||
|
"useUnknownInCatchVariables": true
|
||||||
},
|
},
|
||||||
"formatCodeOptions": {
|
"formatCodeOptions": {
|
||||||
"indentSize": 2,
|
"indentSize": 2,
|
||||||
|
@ -44,6 +52,6 @@
|
||||||
"exclude": ["node_modules/", "types/", "tfjs/", "dist/"],
|
"exclude": ["node_modules/", "types/", "tfjs/", "dist/"],
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"typedocOptions": {
|
"typedocOptions": {
|
||||||
"externalPattern": ["node_modules/", "tfjs/"],
|
"externalPattern": ["node_modules/", "tfjs/"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue