Followed this guide from the docs but they are out of date:
https://github.com/angular/angularfire/blob/master/docs/auth.md#authentication
export class NavigatorComponent{
private auth: Auth = inject(Auth);
user$ = user(this.auth);
constructor(){
this.user$ = user(this.auth); // error here pointing at this.auth
}
Property 'authStateReady' is missing in type 'import("@angular/fire/auth/auth").Auth' but required in type 'import("@firebase/auth/dist/auth-public").Auth'.ts(2345)
auth-public.d.ts(397, 5): 'authStateReady' is declared here.```
Any pointers or up to date tutorial/sample code?
Thanks