- Notifications
You must be signed in to change notification settings - Fork1k
Commitd398265
fix: Use window.setTimeout/setInterval for browser compatibility
- Replace setTimeout/setInterval with window.setTimeout/window.setInterval- Replace clearTimeout/clearInterval with window.clearTimeout/window.clearInterval- Fixes TypeScript error: Type 'Timeout' is not assignable to type 'number'- Ensures proper browser environment timer typesCo-authored-by: BrunoQuaresma <3165839+BrunoQuaresma@users.noreply.github.com>1 parent834b2e5 commitd398265
1 file changed
+5
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
| 83 | + | |
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
| 131 | + | |
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
139 |
| - | |
| 139 | + | |
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
|
0 commit comments
Comments
(0)