title: Typescript: Firebase App type missing delete, installations, name, options
body: <p>I am new to Typescript and trying to make it work with Firebase. I have a FirebaseProvider that takes in a Firebase app configured in the following way:</p>
  <pre class="lang-js prettyprint-override"><code>import firebase from &quot;firebase/app&quot;
  import &quot;firebase/analytics&quot;
  import &quot;firebase/auth&quot;
  import &quot;firebase/firestore&quot;
  import &quot;firebase/functions&quot;
  import &quot;firebase/performance&quot;
  
  const config = {
    apiKey: process.env.REACT_APP_FIREBASE_API_KEY,
    authDomain: process.env.REACT_APP_FIREBASE_AUTH_DOMAIN,
    databaseURL: process.env.REACT_APP_FIREBASE_DATABASE_URL,
    projectId: process.env.REACT_APP_FIREBASE_PROJECT_ID,
    appId: process.env.REACT_APP_FIREBASE_APP_ID,
    measurementId: process.env.REACT_APP_MEASUREMENT_ID
  }
  
  if (firebase.apps.length &gt; 0) firebase.app()
  else firebase.initializeApp(config)
  
  export { firebase }
  </code></pre>
  <p>My apps entry point looks like:</p>
  <pre class="lang-js prettyprint-override"><code>&lt;FirebaseProvider firebase={firebase}&gt;
    &lt;App /&gt;
  &lt;/FirebaseProvider&gt;
  </code></pre>
  <p>I have the props for the <code>FirebaseProvider</code> declared as the following:</p>
  <pre class="lang-js prettyprint-override"><code>interface FirebaseProviderProps {
    firebase: firebase.default.app.App
    children: ReactElement | ReactElement[]
  }
  </code></pre>
  <p>However I am finding I get the following error:</p>
  <pre><code>Type 'typeof firebase' is missing the following properties from type 'App': delete, installations, name, options
  </code></pre>
  <p>What is the correct Firebase type for me to use? I have poked around in the SDK and can't seem any other types that seem relevant.</p>