We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75701f5 commit dffba65Copy full SHA for dffba65
packages/database/src/api/Query.ts
@@ -263,7 +263,11 @@ export class Query {
263
* @param {(function(!DataSnapshot, ?string=))=} callback
264
* @param {Object=} context
265
*/
266
- off(eventType?: string, callback?: SnapshotCallback | null, context?: Object) : void {
+ off(
267
+ eventType?: string,
268
+ callback?: SnapshotCallback | null,
269
+ context?: Object
270
+ ): void {
271
validateArgCount('Query.off', 0, 3, arguments.length);
272
validateEventType('Query.off', 1, eventType, true);
273
validateCallback('Query.off', 2, callback, true);
0 commit comments