mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(core): remove redundant providedIn: 'root' from IDLE_SERVICE
Remove the `providedIn: 'root'` configuration from the `IDLE_SERVICE` token since it is redundant and does not change the default injection behavior
This commit is contained in:
parent
9705ec0386
commit
7b27d4ff11
1 changed files with 0 additions and 1 deletions
|
|
@ -52,7 +52,6 @@ export interface IdleService {
|
|||
}
|
||||
|
||||
export const IDLE_SERVICE = new InjectionToken<IdleService>(ngDevMode ? 'IDLE_SERVICE' : '', {
|
||||
providedIn: 'root',
|
||||
factory: () => new RequestIdleCallbackService(),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue