You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library definition in dom.js for getElementsByTagName('time') for Element is currently missing, so Flow falls back to getElementsByClassName(names: string): HTMLCollection<HTMLElement>;.
It would be good to have a specific definition of time elements:
As those snippets suggest, track is also missing on Element. (And title is there but the order is different.) Here's a quick scan of definitions that are present on just one of the two, just for getElementsByTagName:
I suspect all of those should be present on both. (And datalist should probably have a consistent type.) There may be other parts of the Document and Element definitions which would also benefit from a sync-up, too.
Missing/Incorrect APIs
The library definition in
dom.js
forgetElementsByTagName('time')
forElement
is currently missing, so Flow falls back togetElementsByClassName(names: string): HTMLCollection<HTMLElement>;
.It would be good to have a specific definition of time elements:
getElementsByTagName(name: 'time'):HTMLCollection<HTMLTimeElement>;
Relevant documentation
The text was updated successfully, but these errors were encountered: