diff --git a/packages/firestore/exp/test/shim.ts b/packages/firestore/exp/test/shim.ts index d63b91705b9..76758a6cf77 100644 --- a/packages/firestore/exp/test/shim.ts +++ b/packages/firestore/exp/test/shim.ts @@ -16,7 +16,7 @@ */ import * as legacy from '@firebase/firestore-types'; -import * as exp from '../../exp/'; +import * as exp from '../'; import { addDoc, @@ -60,7 +60,7 @@ import { UntypedFirestoreDataConverter } from '../../src/api/user_data_reader'; import { isPartialObserver, PartialObserver } from '../../src/api/observer'; import { isPlainObject } from '../../src/util/input_validation'; -export { GeoPoint, Blob, Timestamp } from '../../exp/index.node'; +export { GeoPoint, Blob, Timestamp } from '../index.node'; /* eslint-disable @typescript-eslint/no-explicit-any */ @@ -648,7 +648,7 @@ export class CollectionReference extends Query } } - async add(data: T): Promise> { + add(data: T): Promise> { return addDoc(this._delegate, unwwrap(data)).then( docRef => new DocumentReference(docRef) );