mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
feat: enable stricter type-checking
This commit is contained in:
@@ -1,27 +1,32 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"alwaysStrict": true,
|
"allowJs": true,
|
||||||
|
"allowUnreachableCode": false,
|
||||||
|
"checkJs": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"esModuleInterop": true,
|
"emitDecoratorMetadata": true,
|
||||||
|
"exactOptionalPropertyTypes": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"explainFiles": true,
|
||||||
"skipLibCheck": true,
|
|
||||||
"downlevelIteration": true,
|
|
||||||
"inlineSourceMap": true,
|
"inlineSourceMap": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"lib": [
|
||||||
|
"ES2022",
|
||||||
|
"DOM"
|
||||||
|
],
|
||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "NodeNext",
|
"moduleResolution": "NodeNext",
|
||||||
"noErrorTruncation": true,
|
"noErrorTruncation": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"isolatedModules": true,
|
|
||||||
"allowJs": true,
|
|
||||||
"checkJs": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
|
"noImplicitOverride": true,
|
||||||
"noImplicitReturns": true,
|
"noImplicitReturns": true,
|
||||||
"noUnusedLocals": false,
|
"noPropertyAccessFromIndexSignature": true,
|
||||||
"noUnusedParameters": false,
|
"noUncheckedIndexedAccess": true,
|
||||||
"outDir": "../../../lib/",
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
"lib": [
|
"lib": [
|
||||||
"ES2022",
|
"ES2022",
|
||||||
"DOM"
|
"DOM"
|
||||||
@@ -33,7 +38,6 @@
|
|||||||
"transpileOnly": true
|
"transpileOnly": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"../../../app.js",
|
"../../../lib/"
|
||||||
"../../../lib/"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user