worker.slow = cachingDecorator(worker.slow);
^
ctx.strokeStyle = "#0005";
ctx.lineWidth = 20;
ctx.lineJoin = 'round';
ctx.beginPath();
ctx.moveTo(20, 20);
ctx.lineTo(190, 100);
ctx.lineTo(280, 20);
ctx.lineTo(280, 150);
ctx.stroke();
if (ids.length > 0) {
const hasName = ids.includes(item.name);
if (hasName) {
this.isFilters = false;
}
state.push(hasName)
}
[[], () => {}]
Или в тип юнионом андефайнд/нулл добавить.