This typescript error occurs while integrating with Yahoo API. I think this doesn't work with angularjs ^1.4.0.
Check the code below -
`$http.jsonp(url + '&callback=JSON_CALLBACK')
.success(function (data) {
if (data.query.count) {
var quotes = data.query.count > 1 ? data.query.results.quote : [data.query.results.quote];
update(quotes);
}
})
.error(function (data) {
console.log("error");
console.log(data);
});`
This typescript error occurs while integrating with Yahoo API. I think this doesn't work with angularjs ^1.4.0.
Check the code below -