From 1676d843713f7009b3d6cc19b2b88fb4b9b02c1c Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Fri, 29 May 2026 11:52:55 +0200 Subject: [PATCH] chore(types): resolve all svelte-check errors and enforce svelte-check in CI Makes `bunx svelte-check` clean (was 40 errors across 17 files) with type-only, behavior-preserving changes, then adds it as a CI gate. - dnd drag handles: retype `startDrag` from the wrong `(e: CustomEvent)` to `(e: MouseEvent | TouchEvent)` (it is bound to on:mousedown/on:touchstart) in the 7 command components + CommandList; drop the now-unused DndEvent imports. - Command subclasses: add `declare` to inherited name/id/type fields (TS2612; emission-free under the ES2020 target, and prevents field-clobbering if the target is ever raised). - CommandList: narrow ICommand -> specific command types via