mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
@@ -355,12 +355,12 @@ export function checkDuplicates(
|
||||
message: `Duplicate binding "${key}" in ${block.context} context`,
|
||||
key,
|
||||
context: block.context,
|
||||
action: action ?? 'null (unbind)',
|
||||
action: (action as string) ?? 'null (unbind)',
|
||||
suggestion: `Previously bound to "${existingAction}". Only the last binding will be used.`,
|
||||
})
|
||||
}
|
||||
|
||||
contextMap.set(normalizedKey, action ?? 'null')
|
||||
contextMap.set(normalizedKey, (action as string) ?? 'null')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user