resize-observer-polyfill
resize-observer-polyfill copied to clipboard
Fixed definition file for newer TS versions
In typescript 4.2 definition file causes error:
Error: node_modules/resize-observer-polyfill/src/index.d.ts:19:18 - error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' must be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.
Declaring DOMRectReadOnly
as global fixes that issue.
We also have this issue. Can we get this merged?
the same for us. having TS error using Angular 12. please review the issue @que-etc thank you!
This would solve the issue described in #83
Hi, this branch is now open for quite some time - could this be merged somewhere near future? :)
I have the same issue, could you please merge the fix and release a new version?