refactor(backend): remove unnecessary any

This commit is contained in:
syuilo 2024-10-14 17:54:27 +09:00
parent 77ebabb3dc
commit f13c3909a0
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ export class NoteEntityService implements OnModuleInit {
hide = false;
} else {
// 指定されているかどうか
const specified = packedNote.visibleUserIds!.some((id: any) => meId === id);
const specified = packedNote.visibleUserIds!.some(id => meId === id);
if (specified) {
hide = false;
@ -250,7 +250,7 @@ export class NoteEntityService implements OnModuleInit {
return true;
} else {
// 指定されているかどうか
return note.visibleUserIds.some((id: any) => meId === id);
return note.visibleUserIds.some(id => meId === id);
}
}