Created
June 17, 2022 10:45
-
-
Save NyaGarcia/fa8223633fb69f81de4fda33da24b10a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { CollectionReference, DocumentData, addDoc, collection, deleteDoc, doc, updateDoc } from '@firebase/firestore'; | |
import { Firestore, collectionData, docData } from '@angular/fire/firestore'; | |
import { Injectable } from '@angular/core'; | |
import { Observable } from 'rxjs'; | |
import { Pokemon } from '../features/pokemon/interfaces/pokemon.interface'; // Don't forget to import the interface!! | |
@Injectable({ | |
providedIn: 'root', | |
}) | |
export class PokedexFirestoreService {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment