Skip to content

Commit 280aa22

Browse files
Merge e8e4bf7 into 7d655a8
2 parents 7d655a8 + e8e4bf7 commit 280aa22

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/firestore/lite/src/api/transaction.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,14 @@ export class Transaction {
123123
*
124124
* @param documentRef A reference to the document to be set.
125125
* @param data An object of the fields and values for the document.
126+
* @param options An object to configure the set behavior.
126127
* @return This `Transaction` instance. Used for chaining method calls.
127128
*/
128-
set<T>(documentRef: DocumentReference<T>, data: Partial<T>): this;
129+
set<T>(
130+
documentRef: DocumentReference<T>,
131+
data: Partial<T>,
132+
options: SetOptions
133+
): this;
129134
set<T>(
130135
documentRef: DocumentReference<T>,
131136
value: T,

0 commit comments

Comments
 (0)