Commit 7f65216
fix(web_companion): TypeScript-Cast für relatedTarget in handleDragLeave
event.relatedTarget hat den Typ EventTarget | null — Node.contains()
erwartet aber Node | null. Mit strict: true schlug tsc ab TS 5.x fehl.
Cast auf Node ist sicher, da relatedTarget in Drag-Events immer ein
DOM-Element ist.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 97584f4 commit 7f65216
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
0 commit comments