Fixed errors in the interface definition of MediaSession. The "metadata" property is supposed to be nullable, but not optional. The second parameter of the "setActionHandler" method is also supposed to be nullable, but not optional.
Fixed errors in the interface definition of MediaSession. The "metadata" property is supposed to be nullable, but not optional. The second parameter of the "setActionHandler" method is also supposed to be nullable, but not optional.

https://wicg.github.io/mediasession/#the-mediasession-interface
https://heycam.github.io/webidl/#dfn-nullable-type

one-pieces/DefinitelyTyped,magny/DefinitelyTyped,AgentME/DefinitelyTyped,markogresak/DefinitelyTyped,AgentME/DefinitelyTyped,AgentME/DefinitelyTyped,magny/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped,mcliment/DefinitelyTyped,borisyankov/DefinitelyTyped,georgemarshall/DefinitelyTyped,rolandzwaga/DefinitelyTyped,dsebastien/DefinitelyTyped,AgentME/DefinitelyTyped,rolandzwaga/DefinitelyTyped