TypeScript: refactoring delete handlers
 - expanding variable names and using arrow functions