Commit 526b808
fix(cli): correct type annotation for sendMessageMock in ask-dispatcher tests
TypeScript was failing to compile because the inferred type of `vi.fn()`
didn't match the expected `(message: WebviewMessage) => void` signature.
Fixed by adding an explicit type assertion and importing WebviewMessage type.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 7c3045f commit 526b808
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments