Closed pompep closed 1 month ago
Thanks for this, looking at the child types, it has the same issue, but I”m not sure what I should be exporting in that one as it relates to the global namespace. Do you have any advice on this?
https://github.com/davidjbradshaw/iframe-resizer/blob/master/packages/child/index.d.ts
The child module exports nothing so I think the current d.ts is doing right with global Window redeclaration. As a user you just have to include this d.ts somehow e.g. by listing it in tsconfig.json
...
"include": [
"./node_modules/@iframe-resizer/child/iframe-resizer.child.d.ts"
],
...
Thank you, that’s good to know. I will merge this and get a release out for tomorrow.
Released as v5.0.2
…port.