File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,11 @@ export class Transaction {
172
172
set < T > (
173
173
documentRef : DocumentReference < T > ,
174
174
data : T ,
175
- options ?: SetOptions
175
+ ) : Transaction ;
176
+ set < T > (
177
+ documentRef : DocumentReference < T > ,
178
+ data : Partial < T > ,
179
+ options : SetOptions
176
180
) : Transaction ;
177
181
178
182
update ( documentRef : DocumentReference < any > , data : UpdateData ) : Transaction ;
@@ -192,7 +196,11 @@ export class WriteBatch {
192
196
set < T > (
193
197
documentRef : DocumentReference < T > ,
194
198
data : T ,
195
- options ?: SetOptions
199
+ ) : WriteBatch ;
200
+ set < T > (
201
+ documentRef : DocumentReference < T > ,
202
+ data : Partial < T > ,
203
+ options : SetOptions
196
204
) : WriteBatch ;
197
205
198
206
update ( documentRef : DocumentReference < any > , data : UpdateData ) : WriteBatch ;
You can’t perform that action at this time.
0 commit comments