@@ -199,7 +199,8 @@ export class IndexedDbPersistenceProvider implements PersistenceProvider {
199
199
* to the functional API of firestore-exp.
200
200
*/
201
201
export class Firestore
202
- implements PublicFirestore , FirebaseService , Compat < ExpFirebaseFirestore > {
202
+ implements PublicFirestore , FirebaseService , Compat < ExpFirebaseFirestore >
203
+ {
203
204
_appCompat ?: FirebaseApp ;
204
205
constructor (
205
206
databaseIdOrApp : DatabaseId | FirebaseApp ,
@@ -568,7 +569,8 @@ export class WriteBatch implements PublicWriteBatch, Compat<ExpWriteBatch> {
568
569
class FirestoreDataConverter < U >
569
570
implements
570
571
UntypedFirestoreDataConverter < U > ,
571
- Compat < PublicFirestoreDataConverter < U > > {
572
+ Compat < PublicFirestoreDataConverter < U > >
573
+ {
572
574
private static readonly INSTANCES = new WeakMap ( ) ;
573
575
574
576
private constructor (
@@ -643,7 +645,8 @@ class FirestoreDataConverter<U>
643
645
* A reference to a particular document in a collection in the database.
644
646
*/
645
647
export class DocumentReference < T = PublicDocumentData >
646
- implements PublicDocumentReference < T > , Compat < ExpDocumentReference < T > > {
648
+ implements PublicDocumentReference < T > , Compat < ExpDocumentReference < T > >
649
+ {
647
650
private _userDataWriter : UserDataWriter ;
648
651
649
652
constructor (
@@ -927,7 +930,8 @@ export function wrapObserver<CompatType, ExpType>(
927
930
export interface SnapshotOptions extends PublicSnapshotOptions { }
928
931
929
932
export class DocumentSnapshot < T = PublicDocumentData >
930
- implements PublicDocumentSnapshot < T > , Compat < ExpDocumentSnapshot < T > > {
933
+ implements PublicDocumentSnapshot < T > , Compat < ExpDocumentSnapshot < T > >
934
+ {
931
935
constructor (
932
936
private readonly _firestore : Firestore ,
933
937
readonly _delegate : ExpDocumentSnapshot < T >
@@ -969,7 +973,8 @@ export class DocumentSnapshot<T = PublicDocumentData>
969
973
970
974
export class QueryDocumentSnapshot < T = PublicDocumentData >
971
975
extends DocumentSnapshot < T >
972
- implements PublicQueryDocumentSnapshot < T > {
976
+ implements PublicQueryDocumentSnapshot < T >
977
+ {
973
978
data ( options ?: PublicSnapshotOptions ) : T {
974
979
const data = this . _delegate . data ( options ) ;
975
980
debugAssert (
@@ -981,7 +986,8 @@ export class QueryDocumentSnapshot<T = PublicDocumentData>
981
986
}
982
987
983
988
export class Query < T = PublicDocumentData >
984
- implements PublicQuery < T > , Compat < ExpQuery < T > > {
989
+ implements PublicQuery < T > , Compat < ExpQuery < T > >
990
+ {
985
991
private readonly _userDataWriter : UserDataWriter ;
986
992
987
993
constructor ( readonly firestore : Firestore , readonly _delegate : ExpQuery < T > ) {
@@ -1159,7 +1165,8 @@ export class Query<T = PublicDocumentData>
1159
1165
}
1160
1166
1161
1167
export class DocumentChange < T = PublicDocumentData >
1162
- implements PublicDocumentChange < T > , Compat < ExpDocumentChange < T > > {
1168
+ implements PublicDocumentChange < T > , Compat < ExpDocumentChange < T > >
1169
+ {
1163
1170
constructor (
1164
1171
private readonly _firestore : Firestore ,
1165
1172
readonly _delegate : ExpDocumentChange < T >
@@ -1183,7 +1190,8 @@ export class DocumentChange<T = PublicDocumentData>
1183
1190
}
1184
1191
1185
1192
export class QuerySnapshot < T = PublicDocumentData >
1186
- implements PublicQuerySnapshot < T > , Compat < ExpQuerySnapshot < T > > {
1193
+ implements PublicQuerySnapshot < T > , Compat < ExpQuerySnapshot < T > >
1194
+ {
1187
1195
constructor (
1188
1196
readonly _firestore : Firestore ,
1189
1197
readonly _delegate : ExpQuerySnapshot < T >
@@ -1238,7 +1246,8 @@ export class QuerySnapshot<T = PublicDocumentData>
1238
1246
1239
1247
export class CollectionReference < T = PublicDocumentData >
1240
1248
extends Query < T >
1241
- implements PublicCollectionReference < T > {
1249
+ implements PublicCollectionReference < T >
1250
+ {
1242
1251
constructor (
1243
1252
readonly firestore : Firestore ,
1244
1253
readonly _delegate : ExpCollectionReference < T >
0 commit comments