This file contains 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 { Injectable } from '@angular/core'; | |
import { Product } from '../interfaces/product'; | |
// aqui você substitui pelo angularFire que ta utilizando | |
import * as firebase from 'firebase'; | |
// import do localStorage do angular, tem que instalar essa lib https://www.npmjs.com/package/@ngx-pwa/local-storage | |
import { StorageMap } from '@ngx-pwa/local-storage'; | |
@Injectable({ | |
providedIn: 'root' | |
}) |
OlderNewer