mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 14:25:51 +00:00
feat: 完成第二版类型清理
This commit is contained in:
@@ -314,7 +314,7 @@ export function filterToolProgressMessages(
|
||||
): ProgressMessage<ToolProgressData>[] {
|
||||
return progressMessagesForMessage.filter(
|
||||
(msg): msg is ProgressMessage<ToolProgressData> =>
|
||||
msg.data?.type !== 'hook_progress',
|
||||
(msg.data as { type?: string })?.type !== 'hook_progress',
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user