Commit 4c6d443
committed
test(readFileTool): fix check-types TS2352 on console.warn restore cast
Cast through `unknown` before `ReturnType<typeof vi.spyOn>` so tsc accepts
the conversion (console.warn's signature doesn't overlap with MockInstance).
Unblocks the `compile` CI job.1 parent 0dfd99c commit 4c6d443
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments