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:
@@ -172,7 +172,7 @@ export class LibraryShelfMenuService {
|
||||
];
|
||||
}
|
||||
|
||||
initializeShelfMenuItems(entity: any): MenuItem[] {
|
||||
initializeShelfMenuItems(entity: Shelf | null): MenuItem[] {
|
||||
const user = this.userService.getCurrentUser();
|
||||
const isOwner = entity?.userId === user?.id;
|
||||
const isPublicShelf = entity?.publicShelf ?? false;
|
||||
|
||||
Reference in New Issue
Block a user