[flow] fix misc flow warnings
This commit is contained in:
parent
7dbf61ef1e
commit
3cde0e93d9
|
@ -19,6 +19,8 @@ export default class Auth extends ModuleBase {
|
|||
static _NATIVE_MODULE = 'RNFirebaseAuth';
|
||||
|
||||
_user: User | null;
|
||||
_native: Object;
|
||||
_getAppEventName: Function;
|
||||
_authResult: AuthResultType | null;
|
||||
authenticated: boolean;
|
||||
|
||||
|
@ -234,7 +236,7 @@ export default class Auth extends ModuleBase {
|
|||
* @param newPassword
|
||||
* @return {Promise.<Null>}
|
||||
*/
|
||||
confirmPasswordReset(code: string, newPassword: string): Promise<Null> {
|
||||
confirmPasswordReset(code: string, newPassword: string): Promise<null> {
|
||||
return this._native.confirmPasswordReset(code, newPassword);
|
||||
}
|
||||
|
||||
|
@ -245,7 +247,7 @@ export default class Auth extends ModuleBase {
|
|||
* @param code
|
||||
* @return {Promise.<Null>}
|
||||
*/
|
||||
applyActionCode(code: string): Promise<Any> {
|
||||
applyActionCode(code: string): Promise<any> {
|
||||
return this._native.applyActionCode(code);
|
||||
}
|
||||
|
||||
|
@ -254,9 +256,9 @@ export default class Auth extends ModuleBase {
|
|||
*
|
||||
* @link https://firebase.google.com/docs/reference/js/firebase.auth.Auth#checkActionCode
|
||||
* @param code
|
||||
* @return {Promise.<Any>|Promise<ActionCodeInfo>}
|
||||
* @return {Promise.<any>|Promise<ActionCodeInfo>}
|
||||
*/
|
||||
checkActionCode(code: string): Promise<Any> {
|
||||
checkActionCode(code: string): Promise<any> {
|
||||
return this._native.checkActionCode(code);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue