Commit 738f856
committed
fix(tls): replace unimplemented!() with proper error for TLS resolver
- Add ResolverNotSupported error variant to TlsError enum
- Replace unimplemented!() panics with proper error returns in create_client_config
- Improves error handling by returning graceful errors instead of panicking
fix(tsc): improve error message for invalid 'this' parameter syntax
- Add helpful error message rewrite for TS2684 (invalid 'this' parameter)
- Provides guidance on correct React/Preact component typing syntax
- Helps users understand the difference between 'this' parameter and function return types1 parent 3c0f289 commit 738f856
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
313 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
314 | 319 | | |
315 | 320 | | |
316 | 321 | | |
| |||
343 | 348 | | |
344 | 349 | | |
345 | 350 | | |
346 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
347 | 354 | | |
348 | 355 | | |
349 | 356 | | |
| |||
0 commit comments