-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Wrong parameter name of CanActivate guard. #18601
Copy link
Copy link
Closed
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelygood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixLabel noting an issue which the team is looking for contribution from the community to fixseverity1: confusingtype: bug/fix
Milestone
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelygood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixLabel noting an issue which the team is looking for contribution from the community to fixseverity1: confusingtype: bug/fix
🐞 Bug report
Command (mark with an
x)Description
According to the document of CanActivate interface, the parameters of
canActivateisBut the parameters of the generated guard file is
🔬 Minimal Reproduction
ng new guard-impl-demo --defaultscd guard-impl-demong generate guard auth --implements CanActivate🌍 Your Environment