refactor: fix undecorated classes with angular features in repo (#36921)
A few instances of undecorated classes with Angular features have been discovered in the framework repo. This commit fixes those. PR Close #36921
This commit is contained in:

committed by
Alex Rickabaugh

parent
0577bf0e3e
commit
e17fe90aaa
@ -7,12 +7,13 @@
|
||||
*/
|
||||
|
||||
import {ViewportScroller} from '@angular/common';
|
||||
import {OnDestroy} from '@angular/core';
|
||||
import {Injectable, OnDestroy} from '@angular/core';
|
||||
import {Unsubscribable} from 'rxjs';
|
||||
|
||||
import {NavigationEnd, NavigationStart, Scroll} from './events';
|
||||
import {Router} from './router';
|
||||
|
||||
@Injectable()
|
||||
export class RouterScroller implements OnDestroy {
|
||||
// TODO(issue/24571): remove '!'.
|
||||
private routerEventsSubscription!: Unsubscribable;
|
||||
|
Reference in New Issue
Block a user