Commit de28ebe
Fix Flow type error in getHighlightedCells loop variables
Explicitly type loop variables as number to avoid incompatible-type
error when Flow infers the union type 0 | 1 | 2 from GridRect fields.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e1abe4e commit de28ebe
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments