Consistency: errors can be of any type everywhere

This commit is contained in:
Dénes Harmath
2014-01-14 14:21:23 +01:00
parent 7d4174fecc
commit cb8fbe728c
+1 -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;