# Type Errors ## Wrong Type for Binding **Error:** Type mismatch when binding to `$checked` or similar **Problem:** Trying to bind the whole item instead of a property ```typescript {/* Trying to bind entire item */} ``` **Solution:** Bind the specific property ```typescript {/* Bind the boolean property */} ``` ## Writable vs Writable>> Use `Writable` by default. Only use `Writable>>` when you need Writable methods on individual elements: ```typescript // Standard - Writable const addItem = handler }>( (_, { items }) => items.push({ title: "New" }) ); // Advanced - Writable>> for .equals() const removeItem = handler< unknown, { items: Writable>>; item: Writable } >((_event, { items, item }) => { const index = items.get().findIndex(el => el.equals(item)); if (index >= 0) items.set(items.get().toSpliced(index, 1)); }); ``` ## See Also - @common/concepts/types-and-schemas.md - Type system fundamentals - @common/concepts/reactivity.md - Reactivity and Cell types - @common/components/COMPONENTS.md - Component binding patterns