Find Jobs
Hire Freelancers

Looking for an Angular 2+ programmer to fix my issue

$10-30 CAD

Closed
Posted over 4 years ago

$10-30 CAD

Paid on delivery
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",
Project ID: 20362424

About the project

13 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
13 freelancers are bidding on average $27 CAD for this job
User Avatar
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 think the format of products is wrong, if you give me a chance, I can solve this problem with easy. I have good skills and experiences in Angular 2/4/5/6/7/8. Regarding Angular, I am very familiar in this field as you can see my profile. I can provide you good result in time as you want if you hire me. Please feel free contact me and discuss your project detail. Hope your response. Thanks. Regards.
$50 CAD in 7 days
4.4 (48 reviews)
7.3
7.3
User Avatar
Hi, I can fix this issue. As I have great experience in Angular 2+. Working in this framework for last 1.5 years.
$20 CAD in 7 days
5.0 (1 review)
0.8
0.8
User Avatar
Hi @@@@@within short time@@@@@ I have checked your issue "error". I can fix it within short time. I am very similar with your job and expert of angular development. I have rich experiment of angular.I think , your issue is relative with database. I want to discuss more details with you for great success of your project. Best Regards
$20 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I'm very experienced Angular developer and can fix this issue very quick. i need to check the product service to get the complete idea. i'm a new comer to this website. the issue is with the typescript where your variable is strongly typed and the assignment is not. please respond to me.
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Maybe you should try to create a class instead of an interface. I have tried it and then it works. Your welcome for the free trip, if you need more I would like to help you :)
$20 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am full stack developer. Working a lot qith angular and its material. I think you are assigning object array to array of object that's why you are getting this error. Regards, Bharat
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have more than 7 years of experience in UI Development, Currently working for multi national company as Consultant .
$25 CAD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
i need positive feedback to get started in freelancer so i can do it for even less money.
$15 CAD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
It's a Pleasure to help you. So I hope that you will contact me. I'll help you with the Issue. I've got an idea about your Problem
$20 CAD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Oakville, Canada
5.0
7
Payment method verified
Member since May 10, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.