Commit 1fcdb20
committed
🔧
fix: use @ts-expect-error instead of @ts-ignore
Addresses coderabbitai feedback on PR elysiajs#300.
Changed from @ts-ignore to @ts-expect-error for better type safety.
This ensures the suppression is still necessary - if the error goes
away in the future (e.g., after types are updated), @ts-expect-error
will fail the build, alerting us to remove it.
Also improved the comment to be more descriptive about why the
suppression is needed.1 parent 9095926 commit 1fcdb20
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | 297 | | |
299 | 298 | | |
300 | | - | |
| 299 | + | |
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
| |||
0 commit comments