typescript: fix type error triggered with typescript 3.4
typescript: fix type error triggered with typescript 3.4

canalplus/rx-player,canalplus/rx-player,canalplus/rx-player,canalplus/rx-player,canalplus/rx-player