Revert 'hangup', 'togglecamera' and 'togglemicrophone' action handlers from MediaSession in TypeScript 4.9+ #52743
Labels
External
Relates to another program, environment, or user action which we cannot control.
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
lib Update Request
Action definitions that have existed for years have been removed with the latest LKG update for 4.9+
3a6d7e9#diff-796971dc74a3f3cd77ca0a3a776d6fe27ab224cd501d9652dbeffcf45ba0f058L18186
When 4.8.3 still has these definitions https://github.com/microsoft/TypeScript/blob/v4.8.4/lib/lib.dom.d.ts#L18186
Media Session Standard specification has information about these types of actions https://w3c.github.io/mediasession/#mediasession It is difficult to classify these things as experimental, because the standard itself is still Draft
Configuration Check
My compilation target is
ES2015
and my lib isthe default
.Missing / Incorrect Definition
MediaSessionAction has lost
hangup
,togglecamera
andtogglemicrophone
options.Sample Code
Documentation Link
https://w3c.github.io/mediasession/#dom-mediasession-setactionhandler
The text was updated successfully, but these errors were encountered: