mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #1540 from thSoft/patch-1
Follow Firebase API changes
This commit is contained in:
Vendored
+3
-1
@@ -44,7 +44,7 @@ interface IFirebaseQuery {
|
||||
|
||||
declare class Firebase implements IFirebaseQuery {
|
||||
constructor(firebaseURL: string);
|
||||
auth(authToken: string, onComplete?: (error: string, result: IFirebaseAuthResult) => void, onCancel?:(error: string) => void): void;
|
||||
auth(authToken: string, onComplete?: (error: any, result: IFirebaseAuthResult) => void, onCancel?:(error: any) => void): void;
|
||||
unauth(): void;
|
||||
child(childPath: string): Firebase;
|
||||
parent(): Firebase;
|
||||
@@ -70,4 +70,6 @@ declare class Firebase implements IFirebaseQuery {
|
||||
endAt(priority?: string, name?: string): IFirebaseQuery;
|
||||
endAt(priority?: number, name?: string): IFirebaseQuery;
|
||||
ref(): Firebase;
|
||||
goOffline(): void;
|
||||
goOnline(): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user