Skip to content

Commit 5201713

Browse files
baryhuangclaude
andcommitted
Fix Deno timeout type compatibility
- Change timeoutId type from NodeJS.Timeout to number | NodeJS.Timeout - This allows compatibility with both Deno (returns number) and Node.js (returns NodeJS.Timeout) - Fixes Deno compilation error in release workflow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 256dc03 commit 5201713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/handlers/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async function* executeAgentHttpRequest(
7575
const decoder = new TextDecoder();
7676

7777
try {
78-
let timeoutId: NodeJS.Timeout | null = null;
78+
let timeoutId: number | NodeJS.Timeout | null = null;
7979

8080
while (true) {
8181
// Add timeout for each read operation

0 commit comments

Comments
 (0)