angular-firestarter icon indicating copy to clipboard operation
angular-firestarter copied to clipboard

firestore does not exist

Open martinmoose opened this issue 5 years ago • 0 comments

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)
      });
  }

martinmoose avatar Nov 04 '20 07:11 martinmoose