docs: minor wording change in code example comment (#26835)
PR Close #26835
This commit is contained in:
parent
638375b7ca
commit
9c2f6d72d6
@ -61,7 +61,7 @@ export class Routable1Component implements OnInit {
|
|||||||
navStart: Observable<NavigationStart>;
|
navStart: Observable<NavigationStart>;
|
||||||
|
|
||||||
constructor(private router: Router) {
|
constructor(private router: Router) {
|
||||||
// Create a new Observable the publishes only the NavigationStart event
|
// Create a new Observable that publishes only the NavigationStart event
|
||||||
this.navStart = router.events.pipe(
|
this.navStart = router.events.pipe(
|
||||||
filter(evt => evt instanceof NavigationStart)
|
filter(evt => evt instanceof NavigationStart)
|
||||||
) as Observable<NavigationStart>;
|
) as Observable<NavigationStart>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user