Skip to content

Commit

Permalink
refacotor: use correct type def. for end_thread_callback in _run_command
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed Nov 23, 2023
1 parent 784c2b6 commit b18d1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rconsoleCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export async function stream_chat_without_visible_chat(
}


function _run_command(cmd: string, doc_uri: string, update_thread_callback: ThreadCallback, end_thread_callback: () => void)
function _run_command(cmd: string, doc_uri: string, update_thread_callback: ThreadCallback, end_thread_callback: ThreadEndCallback)
{
let text = commands_available[cmd] || "";
let editor = vscode.window.visibleTextEditors.find((editor) => {
Expand Down

0 comments on commit b18d1a7

Please sign in to comment.