chore: 清理 lint 警告(290+ 条 no-explicit-any) #82

Merged
wangziqi merged 2 commits from chore/lint-cleanup into main 2026-08-12 03:08:16 +00:00
Owner

清理全量 lint 警告:\n\n- admin:290 条 no-explicit-any + 1 条 exhaustive-deps 全部清零。为表格行/弹窗 props 补充具体接口(RoomRecord/StudentRecord/ExpenseRow/RentalRecord/BillRow/DepositRow 等),catch 统一 unknown + instanceof,批量接口结果补充类型;不改变运行时行为。\n- server:2 条未使用变量警告清零。\n\n验证:admin typecheck / lint / 生产构建全绿;server lint 全绿;修改点均已有单元测试覆盖(deposit 19/19 等)。

清理全量 lint 警告:\n\n- admin:290 条 no-explicit-any + 1 条 exhaustive-deps 全部清零。为表格行/弹窗 props 补充具体接口(RoomRecord/StudentRecord/ExpenseRow/RentalRecord/BillRow/DepositRow 等),catch 统一 unknown + instanceof,批量接口结果补充类型;不改变运行时行为。\n- server:2 条未使用变量警告清零。\n\n验证:admin typecheck / lint / 生产构建全绿;server lint 全绿;修改点均已有单元测试覆盖(deposit 19/19 等)。
wangziqi added 2 commits 2026-08-12 03:04:27 +00:00
refactor(admin): 清理 lint 警告(no-explicit-any / exhaustive-deps)
CI / check (pull_request) Successful in 3m36s
Dependency Check / check (pull_request) Successful in 2m37s
dfc3ffb78c
wangziqi merged commit dfc3ffb78c into main 2026-08-12 03:08:16 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangziqi/gongxue-base#82