Commit c2d19b4
fix(spf): resolve typecheck errors in machine.ts and track-playback-initiated test
Use function form of `update()` in `createMachineCore` transition to
satisfy generic `Partial<Snapshot>` constraint. Omit `url` property
instead of setting it to `undefined` to satisfy `exactOptionalPropertyTypes`.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 26e9f80 commit c2d19b4
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments