# Fix type errors with exactOptionalPropertyTypes · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/999ff66c797d07fc505002d93b2316351414857a)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: 999ff66c797d07fc505002d93b2316351414857a

Requested commit: 999ff66c797d07fc505002d93b2316351414857a

Commit: 999ff66c797d07fc505002d93b2316351414857a

Tree: f41abc3a085304569593f21c918b1ae10d73a751

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix type errors with exactOptionalPropertyTypes

Use conditional spread for turnId to avoid passing undefined
explicitly when the target type expects an optional property.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

```

## Parents

- [54e1bf959b5d721c6a3dfbd1d5cdc0c80f1a02f2](https://git.cafe/flambo/t3code/commit/54e1bf959b5d721c6a3dfbd1d5cdc0c80f1a02f2?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/999ff66c797d07fc505002d93b2316351414857a?format=markdown)
