**您使用的西瓜播放器版本是多少? What version of xgplayer are you using?** 独立使用xgplayer-flv@3.0.22 独立使用xgplayer-hls@3.0.22 **您使用的操作系统和浏览器分别是? What OS and browser are you using?** **如何复现问题? How to reproduce the problem?** <!-- 如果您用 [codepen](https://codepen.io/) 或者 [codesandbox](https://codesandbox.io/) 等工具还原一下问题并提供demo地址,这样会加快我们识别及解决问题的进度 If you use tools such as [codepen](https://codepen.io/) or [codesandbox](https://codesandbox.io/) to restore the problem and provide a demo address, this will speed up our process of identifying and solving problems? --> 类型声明缺少了`extends EventEmitter`,导致ts找不到on方法。 这是d.ts截图⬇️ <img width="1710" height="1000" alt="Image" src="https://github.com/user-attachments/assets/2e8f557d-a7fb-4a24-b192-60bcaf724579" /> 这是源码截图⬇️ <img width="1506" height="604" alt="Image" src="https://github.com/user-attachments/assets/0818c844-6e30-4702-9667-a9fb39ec1dc0" /> 这是报错截图⬇️ <img width="1502" height="416" alt="Image" src="https://github.com/user-attachments/assets/07c12019-ece8-4038-92a4-d80946903759" /> **您期望的播放器正常行为是? What did you expect to happen?** 期望ts类型正确 **实际播放器的表现是? What actually happened?** **可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.**