mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
Update component.d.ts
This commit is contained in:
1 parent
70f551b878
commit
e23e828b3d
1 file changed
+2
-2
+2
-2
@@ -49,9 +49,9 @@ export type Component = {
|
||||
add(option: ComponentOption): HTMLElement;
|
||||
|
||||
/**
|
||||
* Dynamic remove a component
|
||||
* Dynamic remove a component by name
|
||||
*/
|
||||
remove(): void;
|
||||
remove(name: string): void;
|
||||
|
||||
/**
|
||||
* Dynamic update a component
|
||||
|
||||
Reference in new issue
Block a user