Skip to content

Instantly share code, notes, and snippets.

@NyaGarcia
Created June 17, 2022 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NyaGarcia/fa8223633fb69f81de4fda33da24b10a to your computer and use it in GitHub Desktop.
Save NyaGarcia/fa8223633fb69f81de4fda33da24b10a to your computer and use it in GitHub Desktop.
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