增强后端 TypeScript 严格类型检查

This commit is contained in:
yml2213
2026-05-26 10:07:19 +08:00
parent 6d9f267593
commit a2bce8b272
14 changed files with 66 additions and 31 deletions
+3 -3
View File
@@ -6,9 +6,9 @@
"allowJs": true,
"checkJs": true,
"noEmit": true,
"strict": false,
"noImplicitAny": true,
"strictNullChecks": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"skipLibCheck": true,
"types": ["node"],
"lib": ["ES2022"]