{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/395","repository_url":"https://api.github.com/repos/firebase/firebase-admin-node","labels_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/395/comments","events_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/395/events","html_url":"https://github.com/firebase/firebase-admin-node/issues/395","id":383902073,"node_id":"MDU6SXNzdWUzODM5MDIwNzM=","number":395,"title":"Unresolved function or method collection()","user":{"login":"therepo90","id":34599242,"node_id":"MDQ6VXNlcjM0NTk5MjQy","avatar_url":"https://avatars1.githubusercontent.com/u/34599242?v=4","gravatar_id":"","url":"https://api.github.com/users/therepo90","html_url":"https://github.com/therepo90","followers_url":"https://api.github.com/users/therepo90/followers","following_url":"https://api.github.com/users/therepo90/following{/other_user}","gists_url":"https://api.github.com/users/therepo90/gists{/gist_id}","starred_url":"https://api.github.com/users/therepo90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therepo90/subscriptions","organizations_url":"https://api.github.com/users/therepo90/orgs","repos_url":"https://api.github.com/users/therepo90/repos","events_url":"https://api.github.com/users/therepo90/events{/privacy}","received_events_url":"https://api.github.com/users/therepo90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-23T18:12:42Z","updated_at":"2018-12-18T09:51:50Z","closed_at":null,"author_association":"NONE","body":"All newest versions.\r\n\r\nIn my Webstorm using firebase-admin package that has firestore() inside I can't make my webstorm to resolve the typings for firestore. Unexcluding node modules @google/cloud directory doesnt work. Neiether installing the @google/cloud directory by npm\r\n\r\nThere are some strange conflicts with FirebaseFirestore and firestore and no \"@typings\" directory (\"typing\" instead)"},"comment":{"url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/comments/448161556","html_url":"https://github.com/firebase/firebase-admin-node/issues/395#issuecomment-448161556","issue_url":"https://api.github.com/repos/firebase/firebase-admin-node/issues/395","id":448161556,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODE2MTU1Ng==","user":{"login":"therepo90","id":34599242,"node_id":"MDQ6VXNlcjM0NTk5MjQy","avatar_url":"https://avatars1.githubusercontent.com/u/34599242?v=4","gravatar_id":"","url":"https://api.github.com/users/therepo90","html_url":"https://github.com/therepo90","followers_url":"https://api.github.com/users/therepo90/followers","following_url":"https://api.github.com/users/therepo90/following{/other_user}","gists_url":"https://api.github.com/users/therepo90/gists{/gist_id}","starred_url":"https://api.github.com/users/therepo90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therepo90/subscriptions","organizations_url":"https://api.github.com/users/therepo90/orgs","repos_url":"https://api.github.com/users/therepo90/repos","events_url":"https://api.github.com/users/therepo90/events{/privacy}","received_events_url":"https://api.github.com/users/therepo90/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T09:51:50Z","updated_at":"2018-12-18T09:51:50Z","author_association":"NONE","body":"Okay, i made a little workaround but still not understand why its not working. \r\n\r\n    const admin = require('firebase-admin'); and in the same file do :\r\n\r\nexport const firestore = admin.firestore;\r\n\r\nWhen I dont export the firestore from here it doesnt resolve correctly for some reason"}}
{"actor":{"display_login":"therepo90"}}