From cb8fbe728c2d6c1e5d6cad2a7acc821056b4e52e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A9nes=20Harmath?= Date: Tue, 14 Jan 2014 14:21:23 +0100 Subject: [PATCH] Consistency: errors can be of any type everywhere --- firebase/firebase.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebase/firebase.d.ts b/firebase/firebase.d.ts index 27e4923a8..943ad05b9 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;