Fix typecheck errors for branch/worktree fields
Add non-null assertion for activeProject in worktree creation path
(guarded by earlier check) and add missing branch/worktreePath to
test fixture.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 files changed, 2 insertions(+), 0 deletions(-)
apps/web/src/persistenceSchema.test.ts+2
| ... | ... | @@ -134,6 +134,8 @@ describe("toPersistedState", () => { |
| 134 | 134 | events: [], |
| 135 | 135 | error: "boom", |
| 136 | 136 | createdAt: "2026-02-08T10:00:00.000Z", |
| 137 | branch: null, |
| 138 | worktreePath: null, |
| 137 | 139 | }; |
| 138 | 140 | |
| 139 | 141 | const persisted = toPersistedState({ |