I removed all module and namespace declarations, and the errors went away.
Please note that this is a major breaking change, as types are now imported rather than appended as a property to the default export. The types change also assumes that the react package is esm.
See https://github.com/davidjbradshaw/iframe-resizer/issues/1228#issuecomment-2066238569
I removed all module and namespace declarations, and the errors went away.
Please note that this is a major breaking change, as types are now imported rather than appended as a property to the default export. The types change also assumes that the react package is
esm
.