From 79c042a85abfd03a6590ceadcf77f224b4a1d8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A9nes=20Harmath?= Date: Wed, 11 Jan 2017 00:39:13 +0100 Subject: [PATCH] Fix Reference method signatures --- firebase.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firebase.d.ts b/firebase.d.ts index 08f90a6..5ac5291 100644 --- a/firebase.d.ts +++ b/firebase.d.ts @@ -236,13 +236,13 @@ declare namespace firebase.database { callback?: (a: firebase.database.DataSnapshot, b?: string|null) => any, context?: Object|null): any; on(eventType: string, - callback: (a: firebase.database.DataSnapshot|null, b?: string) => any, + callback: (a: firebase.database.DataSnapshot, b?: string|null) => any, cancelCallbackOrContext?: Object|null, context?: Object| - null): (a: firebase.database.DataSnapshot|null, b?: string) => any; + null): (a: firebase.database.DataSnapshot, b?: string|null) => any; once( eventType: string, successCallback?: - (a: firebase.database.DataSnapshot, b?: string) => any, + (a: firebase.database.DataSnapshot, b?: string|null) => any, failureCallbackOrContext?: Object|null, context?: Object|null): firebase.Promise; orderByChild(path: string): firebase.database.Query;