xgplayer icon indicating copy to clipboard operation
xgplayer copied to clipboard

fix: do not rely on the `events` package within type definitions and add methods from `event-emitter`

Open arturovt opened this issue 3 years ago • 0 comments

I've removed the reference to events module within type definitions. The events is a Node.js package, which shouldn't be used since xgplayer is running in the browser.

This also was shipped in package.json as a devDependency, which means @types/events wasn't installed when users ran npm i xgplayer.

arturovt avatar Apr 29 '22 00:04 arturovt