Minimal WebExtension API shape we rely on across Firefox (browser.*) and Chrome (chrome.*). Promise-based calls are typed as Promises; the Chrome callback variant is captured by the (callback?) overload on sendMessage returning unknown.
browser.*
chrome.*
(callback?)
sendMessage
Optional
Minimal WebExtension API shape we rely on across Firefox (
browser.*) and Chrome (chrome.*). Promise-based calls are typed as Promises; the Chrome callback variant is captured by the(callback?)overload onsendMessagereturning unknown.