Commit 7c5a3e6
Improve type safety in promise tracking
- Use 'unknown' instead of 'any' for reject function parameter
- Use Error object instead of string for worker interruption error
- Better adherence to TypeScript best practices
Co-authored-by: na-trium-144 <[email protected]>1 parent a31f8bb commit 7c5a3e6
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
| 154 | + | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
0 commit comments