Commit bf03900
fix: use unknown cast for task result with looseObject index signature
The Result type now uses z.looseObject() which includes an index signature
[x: string]: unknown. TypeScript doesn't preserve this index signature
through object spreads, causing a type error when casting to SendResultT.
Use `as unknown as SendResultT` pattern (same as line 535) to bypass
the stricter type checking while maintaining runtime safety.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2d4da8e commit bf03900
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
0 commit comments