Without this change, the following fails to compile in typescript:
```js
new rrwebPlayer({
target: document.body,
props: {
width: 900,
events,
autoPlay: true,
},
})
```