How can i override shape.remove event in angular

I would like to override shape.Remove event in typescript. This action would take by Press Delete key.

Hey, could you please explain what are you trying to achieve? The shape.remove event has got nothing to do with TypeScript or Angular, it is within diagram-js domain. Could be fired via eventBus.

If you have a code snippet demonstrating what you are trying to achieve, that’d be great.