plasmo icon indicating copy to clipboard operation
plasmo copied to clipboard

[BUG] PlasmoMessaging Request type is never

Open Dun-sin opened this issue 1 year ago • 0 comments

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.

Dun-sin avatar Aug 07 '24 04:08 Dun-sin