Closed Dun-sin closed 2 months ago
Try to restart the typescript server and also restart the dev
Try to restart the typescript server and also restart the dev
thanks will try that
Yea, this happens when you haven't re-built the extension, bc it generates new types.
Yea, this happens when you haven't re-built the extension, bc it generates new types.
@rahulraikwar00 tip helped. Thanks
What happened?
Typescript throws an error for this code whenever you use the
sendToBackground
function from @plasmohq/messaging.It shows this:
PlasmoMessaging.Request<never, {}>
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
Code of Conduct