mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +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: https://chromium.googlesource.com/chromium/src/+/b79156a434f215444989be10c007a1a992280108/chrome/common/extensions/api/tab_capture.idl#27