chore(ui): clear helper service any bucket

Replace helper and service any usages with concrete local shapes, typed records, or unknown fallbacks.

Keep runtime behavior unchanged while shrinking the remaining no-explicit-any backlog.

Validation: just ui lint
This commit is contained in:
James Cox
2026-04-22 17:26:50 -04:00
committed by Zach Yale
parent 2e66fd30b6
commit f7a5d939ae
11 changed files with 55 additions and 27 deletions
@@ -1,4 +1,4 @@
import {Injectable, ComponentRef, ApplicationRef, createComponent, EnvironmentInjector, inject} from '@angular/core';
import {Injectable, ComponentRef, ApplicationRef, createComponent, EmbeddedViewRef, EnvironmentInjector, inject} from '@angular/core';
import { LibraryLoadingComponent } from './library-loading/library-loading.component';
@Injectable({
@@ -22,7 +22,7 @@ export class LibraryLoadingService {
this.componentRef.instance.updateProgress(bookTitle, current, total);
this.appRef.attachView(this.componentRef.hostView);
const domElem = (this.componentRef.hostView as any).rootNodes[0] as HTMLElement;
const domElem = (this.componentRef.hostView as EmbeddedViewRef<unknown>).rootNodes[0] as HTMLElement;
document.body.appendChild(domElem);
document.body.style.overflow = 'hidden';
}