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.
boolean | void
1 parent df35c1b commit 5c18afeCopy full SHA for 5c18afe
src/providers/database.ts
@@ -476,7 +476,7 @@ export class DataSnapshot {
476
* @return `true` if enumeration was canceled due to your callback
477
* returning `true`.
478
*/
479
- forEach(action: (a: DataSnapshot) => boolean): boolean {
+ forEach(action: (a: DataSnapshot) => boolean | void): boolean {
480
const val = this.val();
481
if (_.isPlainObject(val)) {
482
return _.some(
0 commit comments