docs: minor wording change in code example comment (#26835)

PR Close #26835
This commit is contained in:
Steve Dignan 2018-10-29 14:28:00 -04:00 committed by Andrew Kushnir
parent 5f616ca613
commit 5f0d845ca9

View File

@ -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>;