TrackEventInit.track is no longer of type object?, but of type (VideoTrack or AudioTrack or TextTrack); I'm not sure what it could be replaced with — there aren't many interfaces using the object type, and the ones I have found are part of unions or not settable.