diff --git a/.changeset/neat-crews-rule.md b/.changeset/neat-crews-rule.md new file mode 100644 index 00000000000..2b140b68814 --- /dev/null +++ b/.changeset/neat-crews-rule.md @@ -0,0 +1,5 @@ +--- +"@firebase/firestore": patch +--- + +Internal changes to support upcoming modular API. diff --git a/packages/firestore/lite/src/api/transaction.ts b/packages/firestore/lite/src/api/transaction.ts index d29cde7d498..bd84a9ece3a 100644 --- a/packages/firestore/lite/src/api/transaction.ts +++ b/packages/firestore/lite/src/api/transaction.ts @@ -123,9 +123,14 @@ export class Transaction { * * @param documentRef A reference to the document to be set. * @param data An object of the fields and values for the document. + * @param options An object to configure the set behavior. * @return This `Transaction` instance. Used for chaining method calls. */ - set(documentRef: DocumentReference, data: Partial): this; + set( + documentRef: DocumentReference, + data: Partial, + options: SetOptions + ): this; set( documentRef: DocumentReference, value: T,