Commit afcceec
committed
fix: sort TypeScript type declarations for deterministic generation
The ts_rs visit_dependencies traversal order is non-deterministic due to
HashMap iteration order, causing run-config.ts to randomly reorder type
declarations between regenerations. Sort the collected declarations
before emitting them.
https://claude.ai/code/session_014eMPQ1Mw6EQpPkjkk1onsQ1 parent 7d9d18a commit afcceec
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| |||
0 commit comments