title: Firebase Typescript initialization isse
body: <p>I am trying to add firebase to a typescript app, but am having issues with the initial configuration. I have set the google side of the equation up and am using that in the config. Nonetheless, I am having issues:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import firebase from "firebase/app";
  import "firebase/database";
  
  // TODO: Add SDKs for Firebase products that you want to use
  // https://firebase.google.com/docs/web/setup#available-libraries
  
  // Your web app's Firebase configuration
  const firebaseConfig = {
    //fields below purposefully redacted
    apiKey: "",
    authDomain: "",
    projectId: "",
    storageBucket: "",
    messagingSenderId: "",
    appId: "",
  };
  
  // Initialize Firebase
  firebase.initializeApp(firebaseConfig);
  
  export default firebase.database(firebaseConfig["appId"]);</code></pre>
  </div>
  </div>
  </p>
  <p>Error:</p>
  <pre><code>Property 'database' does not exist on type 'typeof import(&quot;c:////Documents/GitHub//node_modules/firebase/app/dist/app/index&quot;)'.ts(2339)
  </code></pre>
  <p>Below are pics of the issue:</p>
  <p><a href="https://i.stack.imgur.com/nEni2.png" rel="nofollow noreferrer">code snippet</a></p>
  <p><a href="https://i.stack.imgur.com/oQReW.png" rel="nofollow noreferrer">Error message</a></p>