Closed MvRemmerden closed 6 years ago
Oy vey! @MvRemmerden that may not work for the cloud functions. Shoot, I'll get on this right away (thank you for making me aware)
Ah, makes sense, I was just testing out the firestore queries, not the cloud functions. And no worries, always happy to help :)
Can you post a screenshot of the error, as well as what version of Typescript you're using?
TypeScript 2.6.2
Fascinating, I'm not getting this. Mind you I'm on Typescript 3.0.1... Hrmm, ok, I can try and work from this!
Just updated to Typescript 3.0.1, still same error. Might be due to my project running on Ionic and with AngularFire2.
Yea, that didn't fix it, I'll have to try more tomorrow in the morning. Ughhh, sorry for the inconvenience!
No worries, it's not an inconvenience at all, as I don't need the cloud functions and can just continue with my forked version.
Try npm i MichaelSolati/geofirestore#dev
, I've tried it with a few different projects and a few different versions of Typescript. If I get a yes that works I'll be deploying it to NPM today!
@MvRemmerden I'm gonna take it as we're fine and deploy 2.1.1
Sorry for the late reaction, yes it works!
After updating to 2.1.0., the following error appears:
Cannot find namespace 'FirebaseFirestore'.
I was able to fix it by changing FirebaseFirestore.CollectionReference to typesWeb.CollectionReference in the following lines:
export namespace cloud { export interface CollectionReference extends FirebaseFirestore.CollectionReference { } }
I have created PR to fix this issue. #23