mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 13:55:50 +00:00
feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
@@ -144,7 +144,7 @@ export async function startMCPServer(
|
||||
)
|
||||
if (validationResult && !validationResult.result) {
|
||||
throw new Error(
|
||||
`Tool ${name} input is invalid: ${validationResult.message}`,
|
||||
`Tool ${name} input is invalid: ${(validationResult as any).message}`,
|
||||
)
|
||||
}
|
||||
const finalResult = await tool.call(
|
||||
|
||||
Reference in New Issue
Block a user