File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/firestore/lite/src/api Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ export class DocumentReference<T = firestore.DocumentData>
28
28
extends DocumentKeyReference < T >
29
29
implements firestore . DocumentReference < T > {
30
30
constructor (
31
- key : DocumentKey ,
32
31
readonly firestore : Firestore ,
32
+ key : DocumentKey ,
33
33
readonly _converter ?: firestore . FirestoreDataConverter < T >
34
34
) {
35
35
super ( firestore . _databaseId , key , _converter ) ;
@@ -45,7 +45,7 @@ export class DocumentReference<T = firestore.DocumentData>
45
45
46
46
withConverter < U > (
47
47
converter : firestore . FirestoreDataConverter < U >
48
- ) : DocumentReference < U > {
49
- return new DocumentReference < U > ( this . _key , this . firestore , converter ) ;
48
+ ) : firestore . DocumentReference < U > {
49
+ return new DocumentReference < U > ( this . firestore , this . _key , converter ) ;
50
50
}
51
51
}
You can’t perform that action at this time.
0 commit comments