Skip to content

Commit 4339da2

Browse files
committed
HandleError returns a promise
1 parent e95afc2 commit 4339da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type AskApproval = (
88
progressStatus?: ToolProgressStatus,
99
) => Promise<boolean>
1010

11-
export type HandleError = (action: string, error: Error) => void
11+
export type HandleError = (action: string, error: Error) => Promise<void>
1212

1313
export type PushToolResult = (content: ToolResponse) => void
1414

0 commit comments

Comments
 (0)