(taskId: number)
| 388 | } |
| 389 | return false; |
| 390 | } |
| 391 | |
| 392 | removeByIds(taskIds: number[]): { success: number; failed: number } { |
| 393 | let success = 0; |
| 394 | let failed = 0; |
| 395 | |
| 396 | for (const taskId of taskIds) { |
| 397 | if (this.remove(taskId)) { |
| 398 | success++; |
| 399 | } else { |
| 400 | failed++; |