Skip to content

Commit 36050f9

Browse files
committed
push should return a ThenableReference
1 parent ef33328 commit 36050f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database-types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export interface Reference extends Query {
108108
key: string | null;
109109
onDisconnect(): OnDisconnect;
110110
parent: Reference | null;
111-
push(value?: any, onComplete?: (a: Error | null) => any): Reference;
111+
push(value?: any, onComplete?: (a: Error | null) => any): ThenableReference;
112112
remove(onComplete?: (a: Error | null) => any): Promise<any>;
113113
root: Reference;
114114
set(value: any, onComplete?: (a: Error | null) => any): Promise<any>;

0 commit comments

Comments
 (0)