Roger Federer has put retirement rumours to rest after revealing he hopes to keep competing against the “legends” of the game.

Federer has been out of action since the Australian Open where he lost to Novak Djokovic in the semi-final.

The 20-time Grand Slam champion recently revealed that he would not be competing for the rest of the year after undergoing a second arthroscopic procedure on his right knee.

Despite telling fans he wanted to return for the 2021 Australian Open, there was doubt whether he would be able to.

However, in a recent interview with, Federer joked he had been asked that question so many times it made him “angry”.

But after trolling the interviewer, Federer said he was “definitely” not calling it quits anytime soon.

“I feel like maybe there’s a little bit more left in me,” Federer said.

“And if not, that’s it too. I’m definitely not stepping away [from] the game right now.”

The 39-year-old said he still carries the same ambitions and is looking forward to getting back on the court.

“Nothing has changed. I’m still fighting for my comeback,” he added.

“I want to be back on the tennis court. I would love to play against all the legends of the game and the best players.”

The 39-year-old recently delighted fans when he said his recovery was on track.

“I'm on the right track,” Federer told German-language magazine Schweizer Illustrierte.

“I'm gradually coming back but I’m going to take my time and don’t want to put any pressure on myself.

“I will only take part in a tournament when I am 100 per cent fit.

“At the moment, it looks like I can make my comeback at the Australian Open in January.”

This article originally appeared on Over60.