Skip to content

Commit 5f25a6b

Browse files
authored
🐛 fix(Xgplayer): invokeVoid error (#613)
1 parent 6dd2c81 commit 5f25a6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Component/BlazorComponent.Web/src/proxies/xgplayer

src/Component/BlazorComponent.Web/src/proxies/xgplayer/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class XgplayerProxy {
4444
this.init(url, options);
4545
}
4646

47-
invokeVoid(prop: string, args: any[]) {
47+
invokeVoid(prop: string, ...args: any[]) {
4848
if (this.player[prop] && typeof this.player[prop] === "function") {
4949
this.player[prop](...args);
5050
}

0 commit comments

Comments
 (0)