File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -8333,17 +8333,6 @@ declare namespace firebase.firestore {
8333
8333
*/
8334
8334
set < T > ( documentRef : DocumentReference < T > , data : T ) : Transaction ;
8335
8335
8336
- /**
8337
- * Writes to the document referred to by the provided `DocumentReference`.
8338
- * If the document does not exist yet, it will be created. If you pass
8339
- * `SetOptions`, the provided data can be merged into the existing document.
8340
- *
8341
- * @param documentRef A reference to the document to be set.
8342
- * @param data An object of the fields and values for the document.
8343
- * @param options An object to configure the set behavior.
8344
- * @return This `Transaction` instance. Used for chaining method calls.
8345
- */
8346
-
8347
8336
/**
8348
8337
* Updates fields in the document referred to by the provided
8349
8338
* `DocumentReference`. The update will fail if applied to a document that
Original file line number Diff line number Diff line change @@ -155,11 +155,6 @@ export class Transaction {
155
155
options : SetOptions
156
156
) : Transaction ;
157
157
set < T > ( documentRef : DocumentReference < T > , data : T ) : Transaction ;
158
- set < T > (
159
- documentRef : DocumentReference < T > ,
160
- data : T | Partial < T > ,
161
- options ?: SetOptions
162
- ) : Transaction ;
163
158
164
159
update ( documentRef : DocumentReference < any > , data : UpdateData ) : Transaction ;
165
160
update (
@@ -181,11 +176,6 @@ export class WriteBatch {
181
176
options : SetOptions
182
177
) : WriteBatch ;
183
178
set < T > ( documentRef : DocumentReference < T > , data : T ) : WriteBatch ;
184
- set < T > (
185
- documentRef : DocumentReference < T > ,
186
- data : T | Partial < T > ,
187
- options ?: SetOptions
188
- ) : WriteBatch ;
189
179
190
180
update ( documentRef : DocumentReference < any > , data : UpdateData ) : WriteBatch ;
191
181
update (
@@ -227,7 +217,6 @@ export class DocumentReference<T = DocumentData> {
227
217
228
218
set ( data : Partial < T > , options : SetOptions ) : Promise < void > ;
229
219
set ( data : T ) : Promise < void > ;
230
- set ( data : T | Partial < T > , options ?: SetOptions ) : Promise < void > ;
231
220
232
221
update ( data : UpdateData ) : Promise < void > ;
233
222
update (
You can’t perform that action at this time.
0 commit comments