We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a3986 commit 007df57Copy full SHA for 007df57
1 file changed
packages/fresh/src/runtime/client/dev_hmr.ts
@@ -3,7 +3,7 @@ import { IS_BROWSER } from "../shared.ts";
3
let ws: WebSocket;
4
let revision = 0;
5
6
-let reconnectTimer: number;
+let reconnectTimer: ReturnType<typeof setTimeout>;
7
const backoff = [
8
// Wait 100ms initially, because we could also be
9
// disconnected because of a form submit.
0 commit comments