Skip to content

Commit 695d0a4

Browse files
author
Brian Chen
committed
remove unneeded import
1 parent f289a76 commit 695d0a4

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/firebase/index.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
import {
19-
DocumentData,
20-
QueryDocumentSnapshot,
21-
SetOptions
22-
} from '@firebase/firestore-types';
23-
2418
/**
2519
* <code>firebase</code> is a global namespace from which all Firebase
2620
* services are accessed.

packages/firestore/lite/src/api/reference.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ export function setDoc<T>(
462462
'setDoc',
463463
ref._key,
464464
convertedValue,
465-
options
465+
options,
466+
ref._converter !== null
466467
);
467468

468469
return ref.firestore

0 commit comments

Comments
 (0)