We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0843a6e commit 0c426c3Copy full SHA for 0c426c3
packages/firestore/exp/index.d.ts
@@ -172,7 +172,11 @@ export class Transaction {
172
set<T>(
173
documentRef: DocumentReference<T>,
174
data: T,
175
- options?: SetOptions
+ ): Transaction;
176
+ set<T>(
177
+ documentRef: DocumentReference<T>,
178
+ data: Partial<T>,
179
+ options: SetOptions
180
): Transaction;
181
182
update(documentRef: DocumentReference<any>, data: UpdateData): Transaction;
@@ -192,7 +196,11 @@ export class WriteBatch {
192
196
193
197
194
198
195
199
+ ): WriteBatch;
200
201
202
203
204
): WriteBatch;
205
206
update(documentRef: DocumentReference<any>, data: UpdateData): WriteBatch;
0 commit comments