I'm getting the following error: Object is possibly 'null' on this.auth.currentUser how do I properly annotate this line to make the error go away?
Method:
doPasswordUpdate = (password: string): Promise<void> =>
this.auth.currentUser.updatePassword(password)
Annotation:
auth: firebase.auth.Auth
Any help is appreciatedQ!