title: How to include Typescript types for Google cloud storage in firebase cloud functions
body: <p>I have a Firebase cloud function written in Typescript where I access a Google storage bucket.</p>
  <p>If I get the bucket like this:</p>
  <pre><code>const storageBucket = admin.storage().bucket(storageBucketName);
  </code></pre>
  <p>VScode shows storageBucket has the type Bucket.</p>
  <p>But if I try to use this as parameter on a function:</p>
  <pre><code>async function deleteOldBackup(storageBucket: Bucket) {
  </code></pre>
  <p>the type Bucket is underline in red as &quot;cannot find Bucket&quot;.</p>
  <p>If I try to import the Bucket type like this:</p>
  <pre><code>import { Bucket, File } from &quot;@google-cloud/storage&quot;
  </code></pre>
  <p>I get the error that Bucket from admin is different than the Bucket in my deleteOldBackup functions.</p>
  <p>How can I get propper Typescript type for google storage in my firebase cloud functions?</p>