Merge pull request #203 from agentilela/patch-1

Add TIMESTAMP to database.ServerValue
This commit is contained in:
Michael Diarmid 2017-06-25 10:44:49 +01:00 committed by GitHub
commit 4cfaa7bece
1 changed files with 7 additions and 2 deletions

9
index.d.ts vendored
View File

@ -11,8 +11,13 @@ declare module "react-native-firebase" {
analytics(): RNFirebase.Analytics;
auth(): RNFirebase.auth.Auth;
on(type: string, handler: (msg: any) => void): any;
/** mimics firebase Web SDK */
database(): RNFirebase.database.Database;
/** mimics firebase Web SDK */
database: {
(): RNFirebase.database.Database
ServerValue: {
TIMESTAMP: number
}
}
/**RNFirebase mimics the Web Firebase SDK Storage,
* whilst providing some iOS and Android specific functionality.
*/