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 638375b7ca
commit 9c2f6d72d6
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export class Routable1Component implements OnInit {
navStart: Observable<NavigationStart>;
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(
filter(evt => evt instanceof NavigationStart)
) as Observable<NavigationStart>;