I need to do this:
func logInUser(withEmail email: String, password: String, completion: AuthDataResultCallBack?) { Auth.auth().signIn(withEmail: email, password: password, completion: completion) }
But I keep getting an error saying: Cannot find type 'AuthDataResultCallBack' in scope
Also: 'AuthDataResult' does not behave the same as 'AuthDataResultCallBack'
Firebase is imported FirebaseCore is imported
I have no idea what to do.