Closed mmamedel closed 2 months ago
My team uses TypeScript, and while this library looks great so far, this is a blocker for us.
There hasn't been a release in years. Is this project still being maintained? 🤔 We are reluctant to fork something for the sake of merging a single PR.
Bump on this also a blocker for us.
Workaround for now:
Either use patch-package
as a postinstall script if using npm
or yarn
. Otherwise use pnpm patch
to apply this package.json change (what we decided to do).
Honestly what we ended up doing was just writing some helpers to allow using native postMessage
and message events with Typescript. Felt more future secure than working with this package. And being the native types, it is all well documented. Let me know if you would be interested, I can put these helper types in a package with a README of how to use them.
Duplicate of merged #470.
When you open the library on a Typescript project, I get the following error message on VSCode:
This is just updating the
package.json
to fix this. Thank you