Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final. Testing is required.
This commit is contained in:
1 parent
715e35ef38
commit
2972203148
92 files changed
+610
-378
No files matched your search
@@ -2,15 +2,16 @@ import { Injectable } from '@angular/core';
|
||||
import { Resolve } from '@angular/router';
|
||||
import { Observable } from 'rxjs/internal/Observable';
|
||||
|
||||
import { LockInfo } from './lock-info';
|
||||
import { SettingsService } from './settings.service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class LockInformationResolver implements Resolve<any> {
|
||||
export class LockInformationResolver implements Resolve<LockInfo> {
|
||||
constructor(private ser: SettingsService) {}
|
||||
|
||||
resolve(): Observable<any> {
|
||||
resolve(): Observable<LockInfo> {
|
||||
return this.ser.getLockInformation();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user