rugk: > Argument of type 'string' is not assignable to parameter of type '{ [x: string]: string; }'.ts(2345)
for rowserCommunication.addListener
Now the issue is wrong JSDOC actually.
See #file:BrowserCommunication.js * @param {COMMUNICATION_MESSAGE_TYPE} messageType type of message
is wrong JSDOC.
If you see #file:BrowserCommunicationTypes.js you see it is an object of strings, but i should just be used more or less like an enum (which JS itself does not have), so you provide a specific value, but cannot provide any arbotrary string.
How can I fix the JSDoc to represent that?