diff --git a/firebase/firebase.d.ts b/firebase/firebase.d.ts index 6302336e1..df792c713 100644 --- a/firebase/firebase.d.ts +++ b/firebase/firebase.d.ts @@ -65,23 +65,23 @@ interface FirebaseDataSnapshot { interface FirebaseOnDisconnect { /** - * Ensures the data at this location is set to the specified value when the client is disconnected + * Ensures the data at this location is set to the specified value when the client is disconnected * (due to closing the browser, navigating to a new page, or network issues). */ set(value: any, onComplete?: (error: any) => void): void; /** - * Ensures the data at this location is set to the specified value and priority when the client is disconnected + * Ensures the data at this location is set to the specified value and priority when the client is disconnected * (due to closing the browser, navigating to a new page, or network issues). */ setWithPriority(value: any, priority: string, onComplete?: (error: any) => void): void; setWithPriority(value: any, priority: number, onComplete?: (error: any) => void): void; /** - * Writes the enumerated children at this Firebase location when the client is disconnected + * Writes the enumerated children at this Firebase location when the client is disconnected * (due to closing the browser, navigating to a new page, or network issues). */ update(value: Object, onComplete?: (error: any) => void): void; /** - * Ensures the data at this location is deleted when the client is disconnected + * Ensures the data at this location is deleted when the client is disconnected * (due to closing the browser, navigating to a new page, or network issues). */ remove(onComplete?: (error: any) => void): void; @@ -127,13 +127,13 @@ interface FirebaseQuery { */ limit(limit: number): FirebaseQuery; /** - * Creates a Query with the specified starting point. + * Creates a Query with the specified starting point. * The generated Query includes children which match the specified starting point. */ startAt(value: string, key?: string): FirebaseQuery; startAt(value: number, key?: string): FirebaseQuery; /** - * Creates a Query with the specified ending point. + * Creates a Query with the specified ending point. * The generated Query includes children which match the specified ending point. */ endAt(value: string, key?: string): FirebaseQuery; @@ -263,7 +263,7 @@ interface Firebase extends FirebaseQuery { /** * Creates a new user account using an email / password combination. */ - createUser(credentials: FirebaseCredentials, onComplete: (error: any) => void): void; + createUser(credentials: FirebaseCredentials, onComplete: (error: any, userData: any) => void): void; /** * Updates the email associated with an email / password user account. */ @@ -298,7 +298,7 @@ interface FirebaseStatic { ServerValue: { /** - * A placeholder value for auto-populating the current timestamp + * A placeholder value for auto-populating the current timestamp * (time since the Unix epoch, in milliseconds) by the Firebase servers. */ TIMESTAMP: any;