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:
tanshu committed 2020-11-24 08:03:43 +05:30
1 parent 715e35ef38
commit 2972203148
92 files changed
+610 -378

No files matched your search

@@ -7,10 +7,10 @@ import { SettingsService } from './settings.service';
@Injectable({
providedIn: 'root',
})
export class MaintenanceResolver implements Resolve<any> {
export class MaintenanceResolver implements Resolve<{ enabled: boolean; user: string }> {
constructor(private ser: SettingsService) {}
resolve(): Observable<any> {
resolve(): Observable<{ enabled: boolean; user: string }> {
return this.ser.getMaintenance();
}
}