Skip to content

Commit

Permalink
Update projects/ngrx.io/content/guide/signals/faq.md
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Deschryver <[email protected]>
  • Loading branch information
rainerhahnekamp and timdeschryver authored Jan 20, 2025
1 parent be8dbb2 commit 9c604a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngrx.io/content/guide/signals/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Therefore, both `signalState` and `signalStore` throw on those mutable changes.
```typescript
const person = signalState({ name: 'Konrad', age: 25 });
patchState(person, (value) => {
value.age++
value.age++;
return value;
}) // 🔥 throws

Expand Down

0 comments on commit 9c604a7

Please sign in to comment.