@@ -65,11 +65,11 @@ describe('RxGeofire', () => {
6565 } ) ;
6666
6767 describe ( 'CollectionRef' , ( ) => {
68- let ref : GeoFireCollectionRef ;
68+ let ref : GeoFireCollectionRef < any > ;
6969 let hash ;
7070 let phx ;
7171 beforeEach ( ( ) => {
72- ref = gfx . collection ( 'cities' ) ;
72+ ref = gfx . collection < any > ( 'cities' ) ;
7373 hash = gfx . point ( 33.45 , - 112.1 ) ;
7474 phx = { id : 'phoenix' , name : 'Phoenix, AZ' , position : hash . data } ;
7575 } ) ;
@@ -88,7 +88,7 @@ describe('RxGeofire', () => {
8888 } ) ;
8989
9090 test ( 'should filter docs with a query and be able to change its query' , done => {
91- ref = gfx . collection ( 'cities' , ref =>
91+ ref = gfx . collection < any > ( 'cities' , ref =>
9292 ref . where ( 'name' , '==' , 'Austin, TX' )
9393 ) ;
9494
@@ -158,12 +158,12 @@ describe('RxGeofire', () => {
158158 let ref : GeoFireCollectionRef ;
159159 let center ;
160160 beforeEach ( ( ) => {
161- ref = gfx . collection ( 'bearings' ) ;
161+ ref = gfx . collection < any > ( 'bearings' ) ;
162162 center = gfx . point ( 40.5 , - 80.0 ) ;
163163 } ) ;
164164
165165 test ( 'work with compound Firestore queries' , async done => {
166- const ref = gfx . collection ( 'compound' , ref =>
166+ const ref = gfx . collection < any > ( 'compound' , ref =>
167167 ref . where ( 'color' , '==' , 'blue' )
168168 ) ;
169169 const point = gfx . point ( 38 , - 119 ) ;
@@ -239,7 +239,7 @@ describe('RxGeofire', () => {
239239 let center ;
240240 let data ;
241241 beforeAll ( async ( ) => {
242- ref = gfx . collection ( 'bearings' ) ;
242+ ref = gfx . collection < any > ( 'bearings' ) ;
243243 center = gfx . point ( 40.5 , - 80.0 ) ;
244244 data = await get ( ref . within ( center , 5 , 'pos' ) ) ;
245245 } ) ;
0 commit comments