Is there a way in TypeScript to automatically apply a retry mechanism to all methods of a class, similar to how decorators work? This would be helpful so that developers won't have to manually add the retry logic to each method when new ones are added.
Any thoughts on achieving this in TypeScript?