Open Issues Need Help
View All on GitHub Enforce proper JSDoc and fix EsLint issues 2 months ago
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