I use WebStorm 2017.3.1
On this code
router.get('/costs/:id', ((req, res) => {
let costsId = Number(req.params.id);
let cost = costs.filter(cost => cost.id === costsId);
res.send(cost);
})
);
I get weak warning on costs.filter
:
Unresolved function or method filter()
Known issue, please follow WEB-23188 for updates