Closed vitorveiga closed 4 years ago
Exception transpiling the following snippet
for (; idx < sw.tabs.length;) { let t = sw.tabs[idx]; if (!newTabs.find(nt => nt._id === t._id)) { updateWindowFromBg({action: 'tabRemoved', tid: t._id, wid: sw._id, id: ++eventId}); } else { idx++; } }
Error TypeError: Cannot read property 'type' of null
Hi @vitorveiga, thanks a lot for the fix with tests! Could you please rebase the PR so that it only contains the change in the title (other changes are in another PR)?
Sure!
Exception transpiling the following snippet
Error TypeError: Cannot read property 'type' of null