-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property 'addMessageListener' does not exist on type 'RPC<IframeSchema, ParentSchema>' #28
Comments
I can't reproduce this issue. Did you copy the iframe example as-is? Here's a TypeScript playground I created that shows it all working: https://tsplay.dev/m3dpyW |
This might be relevant to you: docs The schema types affect the It would easier for me to debug if you could share a more complete reproduction of the issue, using the TypeScript playground or a sandbox service like Stackblitz |
Thanks @DaniGuardiola , I will try to give you reproduction soon |
I found the reason, because the tsconfig.json My original config (from nuxt3)
Missing config
|
Interesting. Could you find the specific config value that makes it break/work? It'd help to get a narrowed-down version so I can investigate. |
In which versions of the package (and relevant enviroment tools such as Node.js) have you observed the bug?
1.7.0
What steps will reproduce the bug?
Follow README
What behavior did you expect?
No ts error
What actually happened?
Property 'addMessageListener' does not exist on type 'RPC<IframeSchema, ParentSchema>'
Workaround
No response
Proposed fix
No response
Other remarks
No response
Contribution
The text was updated successfully, but these errors were encountered: