mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Consistency: errors can be of any type everywhere
This commit is contained in:
Vendored
+1
-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;
|
||||
|
||||
Reference in New Issue
Block a user