codediodeio / angular-firestarter

🍱 :fire: Angular + Firebase Progressive Web App Starter
https://firestarter.fireship.io/
956 stars 437 forks source link

firestore does not exist #98

Open martinmoose opened 3 years ago

martinmoose commented 3 years ago

In the following code it says that firestore does not exist for firebase?

From board.service.ts


  /**
   * Remove a specifc task from the board
   */
  removeTask(boardId: string, task: Task) {
    return this.db
      .collection('boards')
      .doc(boardId)
      .update({
        tasks: firebase.firestore.FieldValue.arrayRemove(task)
      });
  }