I have 2 background scripts one is background.js and other one is background.ts when I build everything inside build file it looks something like this: /build |-background.js |-helper |--background.ts
What I want to achieve is that I want to send chrome message from .js to .ts background - is that communication possible at all? Both of background are working and everything is great except lack of communication between them.
I have tried to send message from background.js to content script and then to background.ts and it seems that is working but content script is depending on tabs, and I would like to have direct communication channel between background scripts.