File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/firestore/exp/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import * as legacy from '@firebase/firestore-types' ;
19
- import * as exp from '../../exp/ ' ;
19
+ import * as exp from '../' ;
20
20
21
21
import {
22
22
addDoc ,
@@ -60,7 +60,7 @@ import { UntypedFirestoreDataConverter } from '../../src/api/user_data_reader';
60
60
import { isPartialObserver , PartialObserver } from '../../src/api/observer' ;
61
61
import { isPlainObject } from '../../src/util/input_validation' ;
62
62
63
- export { GeoPoint , Blob , Timestamp } from '../../exp/ index.node' ;
63
+ export { GeoPoint , Blob , Timestamp } from '../index.node' ;
64
64
65
65
/* eslint-disable @typescript-eslint/no-explicit-any */
66
66
@@ -648,7 +648,7 @@ export class CollectionReference<T = legacy.DocumentData> extends Query<T>
648
648
}
649
649
}
650
650
651
- async add ( data : T ) : Promise < DocumentReference < T > > {
651
+ add ( data : T ) : Promise < DocumentReference < T > > {
652
652
return addDoc ( this . _delegate , unwwrap ( data ) ) . then (
653
653
docRef => new DocumentReference ( docRef )
654
654
) ;
You can’t perform that action at this time.
0 commit comments