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
Yes I realized this issue as well and brought it up in #588 (comment). What I ended up doing is checking what Typescript does, which is use this one for MediaSource. Of course, we don't have to follow typescript.
We have
ReadyState
asclosed | ended | open
which is currently being used inMediaSource
.The problem is that there are many
ReadyState
definitions depending on where it's used. For example,IDBRequest.readyState
ispending | done
.We should add types for all (or at least some common) ready state enums, and prefix them all according to their domain.
The text was updated successfully, but these errors were encountered: