update artplayer.d.ts

This commit is contained in:
Harvey Zack committed 2023-04-21 22:55:16 +08:00
1 parent 71fad99a6a
commit a3b767f15d
9 files changed
+36 -32

No files matched your search

+2 -3
View File
@@ -94,7 +94,7 @@ export default class Setting extends Component {
this.$parent.innerHTML = '';
}
update(settings = []) {
update(settings) {
this.remove();
this.events = [];
this.cache = new Map();
@@ -106,8 +106,7 @@ export default class Setting extends Component {
add(setting) {
this.option.push(setting);
this.update();
return setting;
return this.update(this.option);
}
creatHeader(item) {