return books.bar.filter(function (x) { return x.id === null; }).length;
change to
return books.bar.filters(b => b.id === null).length;
return books.bar.filter(function (x) { return x.id === null; }).length;
return books.bar.filters(b => b.id === null).length;
0 Responses to "Lambda in Angular (typescript)":
Post a Comment