We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01c870 commit c353757Copy full SHA for c353757
common/api-review/database.api.md
@@ -33,7 +33,9 @@ export class DataSnapshot {
33
child(path: string): DataSnapshot;
34
exists(): boolean;
35
exportVal(): any;
36
- forEach(action: (child: DataSnapshot) => boolean | void): boolean;
+ forEach(action: (child: DataSnapshot & {
37
+ key: string;
38
+ }) => boolean | void): boolean;
39
hasChild(path: string): boolean;
40
hasChildren(): boolean;
41
get key(): string | null;
0 commit comments