mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	refactor(backend): remove unnecessary any
This commit is contained in:
		
							parent
							
								
									77ebabb3dc
								
							
						
					
					
						commit
						f13c3909a0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -113,7 +113,7 @@ export class NoteEntityService implements OnModuleInit {
 | 
				
			||||||
				hide = false;
 | 
									hide = false;
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				// 指定されているかどうか
 | 
									// 指定されているかどうか
 | 
				
			||||||
				const specified = packedNote.visibleUserIds!.some((id: any) => meId === id);
 | 
									const specified = packedNote.visibleUserIds!.some(id => meId === id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (specified) {
 | 
									if (specified) {
 | 
				
			||||||
					hide = false;
 | 
										hide = false;
 | 
				
			||||||
| 
						 | 
					@ -250,7 +250,7 @@ export class NoteEntityService implements OnModuleInit {
 | 
				
			||||||
				return true;
 | 
									return true;
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				// 指定されているかどうか
 | 
									// 指定されているかどうか
 | 
				
			||||||
				return note.visibleUserIds.some((id: any) => meId === id);
 | 
									return note.visibleUserIds.some(id => meId === id);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue