Skip to content

Commit

Permalink
Fix compile error + add Changelog for #3819 (#3864)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian authored Sep 29, 2020
1 parent 7d655a8 commit 2be43ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/neat-crews-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@firebase/firestore": patch
---

Internal changes to support upcoming modular API.
7 changes: 6 additions & 1 deletion packages/firestore/lite/src/api/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(documentRef: DocumentReference<T>, data: Partial<T>): this;
set<T>(
documentRef: DocumentReference<T>,
data: Partial<T>,
options: SetOptions
): this;
set<T>(
documentRef: DocumentReference<T>,
value: T,
Expand Down

0 comments on commit 2be43ea

Please sign in to comment.