Files restore for SharePoint and Microsoft Teams, similar to OneDrive, is an upcoming feature on the Microsoft 365 roadmap.
It's a complete self-service recovery solution that allows administrators and end users to restore files from any point in time during the last 30 days.
If a user suspects their files have been compromised, they can investigate file changes and allow content owners to go back in time to any second in the last 30 days. Now your users and your administrators can rewind changes using activity data to find the exact moment to revert to.
This is brilliant, it will be interesting to see how this works in a teams environment as well and what controls there might be. This feature is due soon according to the roadmap!