mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-26 08:14:27 +00:00
In both the documentation and the IDL for tabCapture chrome uses
the confusing name `MediaStreamConstraint` which is not similar to
the actual `MediaStreamConstraints` browser type. In the IDL the
documentation claims (incorrectly) that it's MediaTrackConstraints,
but there are additional undocumented supported fields so the type
ends up as `object`:
See:
b79156a434/chrome/common/extensions/api/tab_capture.idl (27)