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 9e0115e commit caa91c8Copy full SHA for caa91c8
packages/database/src/api/Query.ts
@@ -263,11 +263,7 @@ export class Query {
263
* @param {(function(!DataSnapshot, ?string=))=} callback
264
* @param {Object=} context
265
*/
266
- off(
267
- eventType?: string,
268
- callback?: SnapshotCallback,
269
- context?: Object
270
- ): void {
+ off(eventType?: string, callback?: SnapshotCallback, context?: Object): 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