Commit a2e43cc
Type simulationState as union and remove await on sync call
simulationState was inferred as plain string — now typed as
"idle" | "running" | "completed" | "failed" to catch typos at
compile time. Also removed misleading await on randanimalSync().
Fixes meshtastic#54, meshtastic#55.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 806b142 commit a2e43cc
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
690 | | - | |
| 690 | + | |
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| |||
0 commit comments