enforce EventEmitter typing
since Scrcpy v2.0 an extra event is emitted with the codec, width and height
enforce EventEmitter typing