|
4 | 4 |
|
5 | 5 | ```ts
|
6 | 6 |
|
7 |
| -import { DocumentData as DocumentData_2 } from '@firebase/firestore-types'; |
8 |
| -import { FieldPath as FieldPath_4 } from '@firebase/firestore-types'; |
9 | 7 | import { FirebaseApp } from '@firebase/app-types';
|
10 | 8 | import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
|
11 | 9 | import { _FirebaseService } from '@firebase/app-types';
|
| 10 | +import * as firestore from '@firebase/firestore-types'; |
12 | 11 | import { LogLevel } from '@firebase/logger';
|
13 | 12 | import { LogLevelString } from '@firebase/logger';
|
14 | 13 | import { Provider } from '@firebase/component';
|
15 |
| -import { SetOptions } from '@firebase/firestore-types'; |
16 | 14 |
|
17 | 15 | // @public (undocumented)
|
18 | 16 | export function addDoc<T>(reference: CollectionReference<T>, data: T): Promise<DocumentReference<T>>;
|
@@ -330,7 +328,7 @@ export function setDoc<T>(reference: DocumentReference<T>, data: T): Promise<voi
|
330 | 328 | // Warning: (ae-forgotten-export) The symbol "SetOptions" needs to be exported by the entry point index.d.ts
|
331 | 329 | //
|
332 | 330 | // @public (undocumented)
|
333 |
| -export function setDoc<T>(reference: DocumentReference<T>, data: Partial<T>, options: SetOptions_2): Promise<void>; |
| 331 | +export function setDoc<T>(reference: DocumentReference<T>, data: Partial<T>, options: SetOptions): Promise<void>; |
334 | 332 |
|
335 | 333 | // @public (undocumented)
|
336 | 334 | export function setLogLevel(newLevel: LogLevelString | LogLevel): void;
|
@@ -402,7 +400,7 @@ export class Transaction {
|
402 | 400 | // (undocumented)
|
403 | 401 | set<T>(documentRef: DocumentReference<T>, value: T): this;
|
404 | 402 | // (undocumented)
|
405 |
| - set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions_2): this; |
| 403 | + set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions): this; |
406 | 404 | // (undocumented)
|
407 | 405 | update(documentRef: DocumentReference<unknown>, value: UpdateData): this;
|
408 | 406 | // (undocumented)
|
@@ -438,7 +436,7 @@ export class WriteBatch implements WriteBatch {
|
438 | 436 | // (undocumented)
|
439 | 437 | set<T>(documentRef: DocumentReference<T>, value: T): WriteBatch;
|
440 | 438 | // (undocumented)
|
441 |
| - set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions_2): WriteBatch; |
| 439 | + set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions): WriteBatch; |
442 | 440 | // (undocumented)
|
443 | 441 | update(documentRef: DocumentReference<unknown>, value: UpdateData): WriteBatch;
|
444 | 442 | // (undocumented)
|
|
0 commit comments