A tiny wrapper around the browser.runtime.onMessage, so you have a message type.

2 stars 1 forks 2 watchers JavaScript MIT License
add-on add-ons addon browser-addon browser-extension javascript web-extension web-extensions webextension webextensions
1 Open Issue Need Help Last updated: Aug 19, 2025

Open Issues Need Help

View All on GitHub

AI Summary: This GitHub issue describes a TypeScript error (TS2345) occurring in `BrowserCommunication.addListener` due to incorrect JSDoc. The problem stems from `COMMUNICATION_MESSAGE_TYPE`, an object of strings used like an enum, being incorrectly referenced in JSDoc, leading to a type mismatch when a specific string value from that object is expected.

Complexity: 2/5
help wanted

A tiny wrapper around the browser.runtime.onMessage, so you have a message type.

JavaScript
#add-on#add-ons#addon#browser-addon#browser-extension#javascript#web-extension#web-extensions#webextension#webextensions