Type 'Signal<string>' is not assignable to type '{ [SIGNAL]: unknown; }'. #4228
Replies: 2 comments
-
I got the exact same problem. I am already on Angular 19. It worked and suddenly I got this error. Did you find a solution @mark-norgate-ons |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just found out the problem. I made a stackoverflow post: https://stackoverflow.com/questions/79592657/type-signalboolean-is-not-assignable-to-type-signalunknown |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using
withComputed
andsignalStore
, I have suddenly run into an issue where it appears the type cannot be inferred. This has been working, and even with reverting each change I am struggling to pinpoint where it went wrong!A minimal but sufficient fragment:
It was more elaborate than this, of course, but the error is reproducible in this fragment.
I am using Nx: "@nx/angular": "17.3.0"
"@angular/core": "17.1.1"
"@ngrx/signals": "^17.1.0"
Beta Was this translation helpful? Give feedback.
All reactions