Merge pull request #1540 from thSoft/patch-1

Follow Firebase API changes
This commit is contained in:
Masahiro Wakame
2014-01-14 07:14:06 -08:00
+3 -1
View File
@@ -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;
}