Try to add standalone: true
If Rider still shows errors even after updating to Angular 20, update the Angular Language Service plugin and clear Rider caches (File → Invalidate Caches / Restart).
File → Invalidate Caches / Restart