mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user