Commit 2599a77
committed
fix: resolve TypeScript inference issue in client-path.ts
Add explicit type annotation for webssh2Client module to prevent
TypeScript/ESLint from incorrectly inferring it as 'error' type.
This fixes CI error:
- Unsafe return of a value of type error
- Unsafe call of an 'error' type typed value
- Unsafe member access .getPublicPath on an 'error' typed value
The explicit type cast helps TypeScript understand the module structure
when type inference fails in certain environments.1 parent 090c504 commit 2599a77
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments