mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-19 23:40:20 +08:00
Add updatePhoneNumber to TS type definitions
This commit is contained in:
7
src/index.d.ts
vendored
7
src/index.d.ts
vendored
@@ -784,6 +784,13 @@ declare module 'react-native-firebase' {
|
||||
*/
|
||||
updatePassword(password: string): Promise<void>;
|
||||
|
||||
/**
|
||||
* Updates the user's phone number.
|
||||
* See Firebase docs for more information on security & email validation.
|
||||
* This will Promise reject is the user is anonymous.
|
||||
*/
|
||||
updatePhoneNumber(credential: AuthCredential): Promise<void>;
|
||||
|
||||
/**
|
||||
* Updates a user's profile data.
|
||||
* Profile data should be an object of fields to update:
|
||||
|
||||
Reference in New Issue
Block a user