Looking for an Angular 2+ programmer to fix my issue++++

Completed Posted 4 years ago Paid on delivery
Completed

I am trying to build an e-commerce web application using Angular 8 and have an issue when I am trying to assign retrieved information from FireBase repository to a specific type.

The Product is what I am trying to be assigned to and here shows how it is declared.

products:Product[]=[];

filterProducts:Product[]=[];

1)

[login to view URL]().valueChanges().subscribe(products=>this.products=this.filterProducts= products);

2)

export interface Product{

title:string;

price:number;

category:string;

imageUrl:string;

key:string;

}

3)

The error message which I get after assigning by the following code

"message": "Type '{}[]' is not assignable to type 'Product[]'.\n Type '{}' is missing the following properties from type 'Product': title, price, category, imageUrl, key",

AngularJS NoSQL Couch & Mongo JavaScript Node.js PHP

Project ID: #20365295

About the project

5 proposals Remote project Active 4 years ago

Awarded to:

beautymaria

Dear client Thank you for your job post. I have just read your job description with care. Reading your job description, I think your project is very suitable to me. I have good skills and experiences in Angular 2/4/5/6 More

$10 CAD / hour
(53 Reviews)
7.4

5 freelancers are bidding on average $18/hour for this job

webperfection123

Hi There, I am very much interested in working you as skill sets mentioned are exactly matched with mine. I can fix your issues for you according to your requirements i can work on it.I have read your job descriptio More

$20 CAD / hour
(280 Reviews)
8.2
wuyong2020

Hello. I'm a top level of frontend developer with 4 years of angular experience. Normally i build website with nodejs for backend, and angular for frontend. I can fix your issue well. My hourly rate is 40$. thanks.

$45 CAD / hour
(12 Reviews)
6.4
siddheshraut5919

Will work in reasonable rate but efficiently. Please contact asap. Skills ANGULAR PHP MYSQL.

$6 CAD / hour
(0 Reviews)
0.0