Description
onMessage.addListener should take a callback with an optional sender param. Among other things, this includes vital info on which tab the message was sent from. Currently, web-ext-types does not recognize this param.
Relevant documentation
Additional notes
Description
onMessage.addListenershould take a callback with an optionalsenderparam. Among other things, this includes vital info on which tab the message was sent from. Currently,web-ext-typesdoes not recognize this param.Relevant documentation
Additional notes
chrome.extensionnamespace that solves this problem here (see line 2780).