Firebase 3.0 with typescript
<p>I am trying to develop a web app with angular2 and firebase 3.0 authentication following the guidelines given by google. However all the guides for web have javascript examples.</p>

<p>I added below lines in my index.html</p>

<pre><code>&lt;script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"&gt;&lt;/script&gt;
var config = {
   apiKey: "AIzaSyCSfBMvAdEDpcm-z6gWp2XXXXXXXXXXXXX",
   authDomain: "fototrans-calculator.firebaseapp.com",
   databaseURL: "https://fototrans-calculator.firebaseio.com",
   storageBucket: "fototrans-calculator.appspot.com",
};
firebase.initializeApp(config);
</code></pre>

<p>But when i try to use </p>

<pre><code>rootRef = firebase.database.ref();
</code></pre>

<p>I get an error on 'firebase' saying </p>

<pre><code>[ts] Cannot find name 'firebase'.
</code></pre>

<p>Now I remember that I had installed firebase using typings for the previous version of Firebase. Do we have any such thing again for the new version of Firebase? Please guide.</p>

<p>Thanks in advance</p>