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:
+2
-2
@@ -35,7 +35,7 @@ export class MetadataProgressWidgetComponent implements OnInit, OnDestroy {
|
||||
private readonly t = inject(TranslocoService);
|
||||
|
||||
private lastUpdateMap = new Map<string, number>();
|
||||
private timeoutHandles = new Map<string, number>();
|
||||
private timeoutHandles = new Map<string, ReturnType<typeof setTimeout>>();
|
||||
private readonly TASK_STALL_TIMEOUT_MS = 60 * 1000; // 1 minute
|
||||
|
||||
ngOnInit(): void {
|
||||
@@ -69,7 +69,7 @@ export class MetadataProgressWidgetComponent implements OnInit, OnDestroy {
|
||||
taskId,
|
||||
setTimeout(() => {
|
||||
this.markTaskStalled(taskId);
|
||||
}, this.TASK_STALL_TIMEOUT_MS) as any
|
||||
}, this.TASK_STALL_TIMEOUT_MS)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user