plasmo
plasmo copied to clipboard
[BUG] PlasmoMessaging Request type is never
What happened?
Typescript throws an error for this code whenever you use the sendToBackground function from @plasmohq/messaging.
It shows this: PlasmoMessaging.Request<never, {}>
Not sure where the fix of this bug should come in, but would be happy to raise a PR
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contribution
- [X] I would like to fix this BUG via a PR
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate problems.