style: 强类型大法

This commit is contained in:
手瓜一十雪 committed 2025-02-02 23:22:21 +08:00
1 parent 76501bae34
commit 70945cf2d8
191 files changed
+923 -806

No files matched your search

+3 -3
View File
@@ -36,10 +36,10 @@
"strictBindCallApply": true,
"alwaysStrict": true,
"noImplicitThis": true,
"noImplicitReturns": false, // false for now
"noPropertyAccessFromIndexSignature": false, // false for now
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"exactOptionalPropertyTypes": false,// 精准可选
"forceConsistentCasingInFileNames": true,
"useUnknownInCatchVariables": true,
"noImplicitOverride": true,