Commit 49cb5a9
fix(deno): Use Deno.unrefTimer instead of _INTERNAL_safeUnref for interval
Global setInterval in Deno returns a number at runtime, not NodeJS.Timeout.
_INTERNAL_safeUnref is a no-op for numbers (it checks typeof timer === 'object').
Use Deno.unrefTimer directly instead, with a type cast to work around @types/node
polluting the global setInterval signature in the monorepo.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a723136 commit 49cb5a9
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
0 commit comments