Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

immerPatchState is not working with "@ngrx/signals": "18.0.0-rc.3" #32

Closed
koempf opened this issue Jul 24, 2024 · 2 comments · Fixed by #33
Closed

immerPatchState is not working with "@ngrx/signals": "18.0.0-rc.3" #32

koempf opened this issue Jul 24, 2024 · 2 comments · Fixed by #33
Labels

Comments

@koempf
Copy link

koempf commented Jul 24, 2024

immerPatchState(store, (state) => {
state.form = {form: new FormGroup({}), template: c};
});

(state) knows than only Object

state.form (Property form does not exist on type object)

@timdeschryver
Copy link
Owner

@koempf thanks for opening this issue.
This will be a breaking change (see #33).

Copy link

🎉 This issue has been resolved in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants