Docs for Message Flow results in typescript error

Hey folks, I'm following the docs for message flow here: https://docs.plasmo.com/framework/messaging#message-flow
copying the code basically as-is gives me a typescript error on "name". I checked the repo of examples and name is a string there as well. Any ideas?
Screenshot_2023-09-08_at_4.42.05_PM.png
Screenshot_2023-09-08_at_4.42.15_PM.png
Plasmo Docs
The Plasmo messaging API is a powerful tool for sending real-time messages between different parts of your extension.
Messaging API – Plasmo
Was this page helpful?