We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef33328 commit 36050f9Copy full SHA for 36050f9
packages/database-types/index.d.ts
@@ -108,7 +108,7 @@ export interface Reference extends Query {
108
key: string | null;
109
onDisconnect(): OnDisconnect;
110
parent: Reference | null;
111
- push(value?: any, onComplete?: (a: Error | null) => any): Reference;
+ push(value?: any, onComplete?: (a: Error | null) => any): ThenableReference;
112
remove(onComplete?: (a: Error | null) => any): Promise<any>;
113
root: Reference;
114
set(value: any, onComplete?: (a: Error | null) => any): Promise<any>;
0 commit comments