fix: 修复前后端编译警告 — 移除未使用变量/导入/函数
前端: - 移除未使用导入: FileText, AlertCircle, RefreshCw, Signal, QrCode, Upload, Save, Bell, History, useMemo, Select - 移除未使用变量/函数: scope, cfg, org, paged, salaryNum, ackColor, resultColor, maxEmployees, compareVersions, showRenewPreview, showEvidence, handleStartDateChange, ResultRow, previewEmployeeId, updateMutation - 修复 vite.config.ts: 安装 @types/node 并配置 tsconfig.node.json - 将未使用参数 req/s 改为 _req/_s 后端: - 移除未使用导入: Request, Response, NextFunction, decrypt, ContractType, ensureDefaultTemplate - 移除未使用变量/常量: scope, cfg, org, orgId(preview), monthNum, TAX_BRACKETS, months, daysBetween - 将未使用参数 req 改为 _req
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true
|
||||
"strict": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["vite.config.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user