serviceArray: Array<Object> = [];
var offerValue = {
"id": this.offerData.id,
"type": true
}
this.serviceArray.push(offerValue);
this.serviceArray[index].type
I dont know what its means. My app is running but getting errors while running time. Any idea??
You should either create your offerValue TS class or use the JavaScript syntax to access your object property e.g.
this.serviceArray[index]["type"]
More details on this TypeScript related issue can be found here
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
You should either create your offerValue TS class or use the JavaScript syntax to access your object property e.g.
More details on this TypeScript related issue can be found here