https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver
My suggestion meets these guidelines:
Yeah, now that it's in all the main browsers, we'd accept a PR to https://github.com/microsoft/TSJS-lib-generator/ on it 👍
@orta hey! i just tried to prepare the PR:
bareMessage: 'Attributes cannot accept sequence types',
context: 'Syntax error at line 23, since `interface ResizeObserverEntry`:\n' +
' attribute sequence<ResizeObserverSize> borderBoxSize;\n' +
and got this error...
I'd make a work in progress PR on that repo, and ask for help if the IDL -> DTS translation requires changes
GitHub user @strothj implemented the type definitions in a gist. It should be possible to make a PR based on this.
Any progress on this?
Any updates here ?
If an issue is marked as “help wanted” and “milestone: backlog”, it means it's low priority. Furthermore there's a really simple walkaround. There is no open PR currently, but if you want this implemented in TS, you can start one 😁️
@m93a What about this PR? https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/847
There is no open PR currently, but if you want this implemented in TS, you can start one
-m93a
As @sapkra said, https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/847 will fix this issue. Unfortunately the PR is inactive.
@m93a, In case you didn't know, just beneath the title of the issue and in the section on the right you can see if there are any pull requests that address the issue.
Unfortunately the PR is inactive.
Since that PR is inactive, I've done required changes in https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/948 (that's PR on top of changes from https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/847).
Most helpful comment
Any progress on this?