diff --git a/firebase/firebase.d.ts b/firebase/firebase.d.ts index 27e4923a8..901ad87ba 100644 --- a/firebase/firebase.d.ts +++ b/firebase/firebase.d.ts @@ -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; }