react-native-firebase/lib/flow.js

34 lines
602 B
JavaScript
Raw Normal View History

2017-03-02 13:10:10 +00:00
/* eslint-disable */
declare module 'react-native' {
// noinspection ES6ConvertVarToLetConst
declare var exports: any;
}
declare type AuthResultType = {
authenticated: boolean,
user: Object|null
2017-03-17 23:40:12 +00:00
} | null;
2017-03-02 13:10:10 +00:00
declare type CredentialType = {
provider: string,
token: string,
secret: string
};
declare type GoogleApiAvailabilityType = {
status: number,
isAvailable: boolean,
isUserResolvableError?: boolean,
error?: string
};
2017-04-04 16:58:20 +00:00
declare class FirebaseError {
message: string,
name: string,
code: string,
stack: string,
path: string,
details: string,
modifiers: string
};