Skip to content

Commit 9b32270

Browse files
Fix addDoc type (firebase#3140)
1 parent 1d37aa4 commit 9b32270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/exp/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export function getQueryFromServer<T>(
327327
export function addDoc<T>(
328328
reference: CollectionReference<T>,
329329
data: T
330-
): Promise<DocumentSnapshot<T>>;
330+
): Promise<DocumentReference<T>>;
331331
export function setDoc<T>(
332332
reference: DocumentReference<T>,
333333
data: T

0 commit comments

Comments
 (0)