Repository navigation
Commit 9851e11
fix(signals): narrow the merge trap's table state so the package typechecks
The inlined read trap kept `view.table` (number | Map | null) in one binding
through the branch that reaches `table.get`, so `pnpm build` in signals
exited 2 while rollup still emitted JS. Read the state once and give the
table its own binding.
Co-authored-by: Cursor <[email protected]>1 parent 98b236c commit 9851e11
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
838 | 839 | | |
839 | 840 | | |
840 | 841 | | |
| |||
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
851 | | - | |
| 852 | + | |
| 853 | + | |
852 | 854 | | |
853 | 855 | | |
854 | 856 | | |
| |||
0 commit comments