feat: 完成一大波类型修复, 虽然 any 很多

This commit is contained in:
claude-code-best
2026-03-31 23:43:39 +08:00
parent dd9cd782a7
commit 91f77ea571
55 changed files with 156 additions and 81 deletions

View File

@@ -36,10 +36,10 @@ function generateActionsTable(): string {
for (const block of DEFAULT_BINDINGS) {
for (const [key, action] of Object.entries(block.bindings)) {
if (action) {
if (!actionInfo[action]) {
actionInfo[action] = { keys: [], context: block.context }
if (!actionInfo[action as string]) {
actionInfo[action as string] = { keys: [], context: block.context }
}
actionInfo[action].keys.push(key)
actionInfo[action as string].keys.push(key)
}
}
}