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
{{ message }}
Repository navigation
CanDeactivate guard documentation doesn't state when "nextState" can be undefined #47153
I can't find in any place in the documentation a reference for when "nextState" property of the "CanDeactivate" might be sent by undefined and what is the logic behind it, so could you please explain it here and update the documentation about it ?
In reality, this should not be typed as an optional parameter. nextState was added in #13560 and the argument passed was never potentially undefined as far as I can tell.
Activity
atscott commentedon Aug 18, 2022
In reality, this should not be typed as an optional parameter.
nextStatewas added in #13560 and the argument passed was never potentiallyundefinedas far as I can tell.fix(router): correct type of nextState parameter in canDeactivate (#4…
angular-automatic-lock-bot commentedon Dec 30, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(router): correct type of nextState parameter in canDeactivate (an…