-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find namespace 'FirebaseFirestore'. #22
Comments
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? |
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 |
@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
The text was updated successfully, but these errors were encountered: