Feedback: NodeJS + Typescript #4468
alexcastillo
started this conversation in
General
Replies: 1 comment 4 replies
-
Thanks for the feedback!
For the first 2 issues, it seems you have a production version of
Good catch on the runtime error. We are looking at the wrong location for the protos. Opened #4480 to track We are already aware of the typings issue, and made a fix (not released yet). Once a new version is released, the issue will go away.
@samhorlbeck Any thoughts? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Firebase team!
Thank you so much for the amazing effort to get this massive refactor out.
I've gone through the documentation and love the direction you've taken to solve the modularization problem. Well done!
I used the
firebase@exp
branch for a new project with the following setup, and I have some feedback.Setup
tsconfig.json
Feedback
1. Unable to build with Typescript
I'm unable to build with Typescript (
tsc
) due to the following error:2. Type error when using initializeApp
3. Unable to use firestore without firestore/lite
When doing a compound query with Firestore, I get the following runtime error:
I also get a good amount of typescript errors when not using /lite.
4. Unable to get user session via stsTokenManager
In legacy firebase sdk, the only way to persist the auth session in node is with the following workaround:
Source: #1874 (comment)
In firebase exp, there doesn't seem to be a way to get
User
from eitherfirebase/app
orfirebase/auth
.I hope this is helpful, keep up the amazing work!
Alex
Beta Was this translation helpful? Give feedback.
All reactions