I am currently trying to convert my received JSON Object into a TypeScript class with the same attributes and I cannot get it to work. What am I doing wrong?
if it is coming from server as object you can do
this.service.subscribe(data:any) keep any type on data it will solve the issue