TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
getBoundingClientRect().toJSON() returns any

DOMRect
https://developer.mozilla.org/en-US/docs/Web/API/DOMRect#methods

DOMPointReadOnly.toJSON() https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/toJSON
Hello @saschanaz
Can i work on this?
I will update it to be DOMPoint | DOMPointReadOnly instead of any
It's DOMRect, but neither works because here we only need members and no methods. We'll have to get a new interface for this.