You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When assigning to a state that is undefined, (i.e. store('mystate').state() === undefined), the library produces an error that is confusing and does not actually tell me what I'm doing wrong.
When assigning to a state that is undefined, (i.e.
store('mystate').state() === undefined
), the library produces an error that is confusing and does not actually tell me what I'm doing wrong.i.e.
produces a console error saying:
Desired behaviour
A message saying "cannot assign to undefined property
mystate
"(and perhaps include the application code line number in the stack trace?)
Stackblitz link:
https://stackblitz.com/edit/typescript-qg4jq7
The text was updated successfully, but these errors were encountered: