title: How to import WriteBatch from Firebase in Angular>
body: <p>I'm using this packages to handle Firebase in my Angular App:</p>
  <pre><code>&quot;@angular/fire&quot;: &quot;^6.1.4&quot;,
  &quot;firebase&quot;: &quot;^8.2.7&quot;,
  </code></pre>
  <p>I created a service to handle Batch operations:</p>
  <pre><code>import { WriteBatch } from 'firebase/firestore'; // Does not work
  import { WriteBatch } from 'firebase'; // Does not work
  
  export class FireStoreBatch {
    private _batch: WriteBatch;
  
    public Create(): void{
      this._batch = this.afs.firestore.batch();
    }
  
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ikVi2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ikVi2.png" alt="enter image description here" /></a></p>
  <p>Which import do I need to add to be able to use WriteBatch?</p>