Commit b848a61
fix(data-lit): propagate {} | null constraint to useDragTransaction type param
withFilter gained U extends {} | null in #127; useDragTransaction's unconstrained
T no longer satisfies it. Constraining T here aligns the type throughout the
call chain and reflects the genuine semantic — a transaction arg of undefined
makes no sense.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f3a343d commit b848a61
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments