react-native-firebase/lib/flow.js

34 lines
602 B
JavaScript

/* eslint-disable */
declare module 'react-native' {
// noinspection ES6ConvertVarToLetConst
declare var exports: any;
}
declare type AuthResultType = {
authenticated: boolean,
user: Object|null
} | null;
declare type CredentialType = {
provider: string,
token: string,
secret: string
};
declare type GoogleApiAvailabilityType = {
status: number,
isAvailable: boolean,
isUserResolvableError?: boolean,
error?: string
};
declare class FirebaseError {
message: string,
name: string,
code: string,
stack: string,
path: string,
details: string,
modifiers: string
};