Skip to content

Commit 929b774

Browse files
committed
fix: add type annotation for onInstruction callback parameter
1 parent dca635c commit 929b774

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3090,7 +3090,7 @@ If lint or tests fail, report the issues but do NOT commit.`;
30903090
const { createInkRenderer } = await import(/* @vite-ignore */ inkPath);
30913091
// Create and start InkRenderer (only in TTY mode)
30923092
this.inkRenderer = createInkRenderer({
3093-
onInstruction: (text) => {
3093+
onInstruction: (text: string) => {
30943094
// Queue the instruction in InkRenderer (it manages its own queue)
30953095
this.inkRenderer?.addQueuedInstruction(text);
30963096
},

0 commit comments

Comments
 (0)