We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d655a8 + e8e4bf7 commit 280aa22Copy full SHA for 280aa22
packages/firestore/lite/src/api/transaction.ts
@@ -123,9 +123,14 @@ export class Transaction {
123
*
124
* @param documentRef A reference to the document to be set.
125
* @param data An object of the fields and values for the document.
126
+ * @param options An object to configure the set behavior.
127
* @return This `Transaction` instance. Used for chaining method calls.
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;
134
set<T>(
135
documentRef: DocumentReference<T>,
136
value: T,
0 commit comments