--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/ee1e6493-8b6d-430c-bbc1-6e5bf3820f65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Simon,Sorry for the troubles! This is actually a known issue. I am having some issues getting the typings for the Database SDK together properly due to the way we include the code for it. I am working on it though and hope to have a solution for it in one of our upcoming weekly releases.Please keep an eye on the release notes for the Firebase Admin Node.js SDK. I'll make sure to make a note of it when I get the typings working properly.Sorry for the inconvenience.Cheers,Jacob
On Thu, Nov 17, 2016 at 2:55 AM, Simon Heinzle <si...@gimalon.com> wrote:
I have trouble getting the TypeScript typings for Firebase Admin Node.js SDK (NPM firebase-admin).Typings for some parts such as FirebaseApp work, but I cannot get admin.database() to return the correct type. Looking into "lib/firebase-app.d.ts" it seems like auth() and database() both return a FirebaseServiceInterface type, which does not reflect the methods that are actually included in auth and database JS.As workaround, I am using "any" for these return types - but it would be nice to have the correct typings.Does anybody has pointers to how get the correct typings?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/3d52e3ec-48c3-499d-a962-b9df92f410b2%40googlegroups.com.