@@ -946,6 +946,7 @@ describe('Firestore', function () {
946946
947947 collectionRefV9Deprecation (
948948 ( ) => getCountFromServer ( query ) ,
949+ // @ts -expect-error Combines modular and namespace imports
949950 ( ) => query . count ( ) ,
950951 'count' ,
951952 ) ;
@@ -958,6 +959,7 @@ describe('Firestore', function () {
958959
959960 collectionRefV9Deprecation (
960961 ( ) => getCountFromServer ( query ) ,
962+ // @ts -expect-error Combines modular and namespace imports
961963 ( ) => query . countFromServer ( ) ,
962964 'countFromServer' ,
963965 ) ;
@@ -970,6 +972,7 @@ describe('Firestore', function () {
970972
971973 collectionRefV9Deprecation (
972974 ( ) => endAt ( 'foo' ) ,
975+ // @ts -expect-error Combines modular and namespace imports
973976 ( ) => query . endAt ( 'foo' ) ,
974977 'endAt' ,
975978 ) ;
@@ -982,6 +985,7 @@ describe('Firestore', function () {
982985
983986 collectionRefV9Deprecation (
984987 ( ) => endBefore ( 'foo' ) ,
988+ // @ts -expect-error Combines modular and namespace imports
985989 ( ) => query . endBefore ( 'foo' ) ,
986990 'endBefore' ,
987991 ) ;
@@ -994,19 +998,20 @@ describe('Firestore', function () {
994998
995999 collectionRefV9Deprecation (
9961000 ( ) => getDocs ( query ) ,
1001+ // @ts -expect-error Combines modular and namespace imports
9971002 ( ) => query . get ( ) ,
9981003 'get' ,
9991004 ) ;
10001005 } ) ;
10011006
10021007 it ( 'CollectionReference.isEqual()' , function ( ) {
10031008 const firestore = getFirestore ( ) ;
1004-
10051009 const query = collection ( firestore , 'test' ) ;
10061010
10071011 collectionRefV9Deprecation (
10081012 // no equivalent method
10091013 ( ) => { } ,
1014+ // @ts -expect-error Combines modular and namespace imports
10101015 ( ) => query . isEqual ( query ) ,
10111016 'isEqual' ,
10121017 ) ;
@@ -1019,6 +1024,7 @@ describe('Firestore', function () {
10191024
10201025 collectionRefV9Deprecation (
10211026 ( ) => limit ( 9 ) ,
1027+ // @ts -expect-error Combines modular and namespace imports
10221028 ( ) => query . limit ( 9 ) ,
10231029 'limit' ,
10241030 ) ;
@@ -1031,6 +1037,7 @@ describe('Firestore', function () {
10311037
10321038 collectionRefV9Deprecation (
10331039 ( ) => limitToLast ( 9 ) ,
1040+ // @ts -expect-error Combines modular and namespace imports
10341041 ( ) => query . limitToLast ( 9 ) ,
10351042 'limitToLast' ,
10361043 ) ;
@@ -1043,6 +1050,7 @@ describe('Firestore', function () {
10431050
10441051 collectionRefV9Deprecation (
10451052 ( ) => onSnapshot ( query , ( ) => { } ) ,
1053+ // @ts -expect-error Combines modular and namespace imports
10461054 ( ) => query . onSnapshot ( ( ) => { } ) ,
10471055 'onSnapshot' ,
10481056 ) ;
@@ -1055,6 +1063,7 @@ describe('Firestore', function () {
10551063
10561064 collectionRefV9Deprecation (
10571065 ( ) => orderBy ( 'foo' , 'asc' ) ,
1066+ // @ts -expect-error Combines modular and namespace imports
10581067 ( ) => query . orderBy ( 'foo' , 'asc' ) ,
10591068 'orderBy' ,
10601069 ) ;
@@ -1067,6 +1076,7 @@ describe('Firestore', function () {
10671076
10681077 collectionRefV9Deprecation (
10691078 ( ) => startAfter ( 'foo' ) ,
1079+ // @ts -expect-error Combines modular and namespace imports
10701080 ( ) => query . startAfter ( 'foo' ) ,
10711081 'startAfter' ,
10721082 ) ;
@@ -1079,6 +1089,7 @@ describe('Firestore', function () {
10791089
10801090 collectionRefV9Deprecation (
10811091 ( ) => startAt ( 'foo' ) ,
1092+ // @ts -expect-error Combines modular and namespace imports
10821093 ( ) => query . startAt ( 'foo' ) ,
10831094 'startAt' ,
10841095 ) ;
@@ -1091,6 +1102,7 @@ describe('Firestore', function () {
10911102
10921103 collectionRefV9Deprecation (
10931104 ( ) => where ( 'foo' , '==' , 'bar' ) ,
1105+ // @ts -expect-error Combines modular and namespace imports
10941106 ( ) => query . where ( 'foo' , '==' , 'bar' ) ,
10951107 'where' ,
10961108 ) ;
@@ -1103,6 +1115,7 @@ describe('Firestore', function () {
11031115
11041116 collectionRefV9Deprecation (
11051117 ( ) => addDoc ( query , { foo : 'bar' } ) ,
1118+ // @ts -expect-error Combines modular and namespace imports
11061119 ( ) => query . add ( { foo : 'bar' } ) ,
11071120 'add' ,
11081121 ) ;
@@ -1115,6 +1128,7 @@ describe('Firestore', function () {
11151128
11161129 collectionRefV9Deprecation (
11171130 ( ) => doc ( query , 'bar' ) ,
1131+ // @ts -expect-error Combines modular and namespace imports
11181132 ( ) => query . doc ( 'foo' ) ,
11191133 'doc' ,
11201134 ) ;
@@ -1140,6 +1154,7 @@ describe('Firestore', function () {
11401154 const docRef = firestore . doc ( 'some/foo' ) ;
11411155
11421156 docRefV9Deprecation (
1157+ // @ts -expect-error Combines modular and namespace imports
11431158 ( ) => deleteDoc ( docRef ) ,
11441159 ( ) => docRef . delete ( ) ,
11451160 'delete' ,
@@ -1152,6 +1167,7 @@ describe('Firestore', function () {
11521167 const docRef = firestore . doc ( 'some/foo' ) ;
11531168
11541169 docRefV9Deprecation (
1170+ // @ts -expect-error Combines modular and namespace imports
11551171 ( ) => getDoc ( docRef ) ,
11561172 ( ) => docRef . get ( ) ,
11571173 'get' ,
@@ -1177,6 +1193,7 @@ describe('Firestore', function () {
11771193 const docRef = firestore . doc ( 'some/foo' ) ;
11781194
11791195 docRefV9Deprecation (
1196+ // @ts -expect-error Combines modular and namespace imports
11801197 ( ) => onSnapshot ( docRef , ( ) => { } ) ,
11811198 ( ) => docRef . onSnapshot ( ( ) => { } ) ,
11821199 'onSnapshot' ,
@@ -1189,6 +1206,7 @@ describe('Firestore', function () {
11891206 const docRef = firestore . doc ( 'some/foo' ) ;
11901207
11911208 docRefV9Deprecation (
1209+ // @ts -expect-error Combines modular and namespace imports
11921210 ( ) => setDoc ( docRef , { foo : 'bar' } ) ,
11931211 ( ) => docRef . set ( { foo : 'bar' } ) ,
11941212 'set' ,
@@ -1201,6 +1219,7 @@ describe('Firestore', function () {
12011219 const docRef = firestore . doc ( 'some/foo' ) ;
12021220
12031221 docRefV9Deprecation (
1222+ // @ts -expect-error Combines modular and namespace imports
12041223 ( ) => updateDoc ( docRef , { foo : 'bar' } ) ,
12051224 ( ) => docRef . update ( { foo : 'bar' } ) ,
12061225 'update' ,
0 commit comments