mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
Update player.d.ts
This commit is contained in:
1 parent
ecc54b7428
commit
1e2d1a23a8
1 file changed
+1
-1
Vendored
+1
-1
@@ -60,7 +60,7 @@ export declare class Player {
|
|||||||
pause(): void;
|
pause(): void;
|
||||||
play(): Promise<void>;
|
play(): Promise<void>;
|
||||||
toggle(): void;
|
toggle(): void;
|
||||||
attr(key: string, value: any): void;
|
attr(key: string, value?: any): unknown;
|
||||||
switchUrl(url: string): Promise<string>;
|
switchUrl(url: string): Promise<string>;
|
||||||
switchQuality(url: string): Promise<string>;
|
switchQuality(url: string): Promise<string>;
|
||||||
getDataURL(): Promise<string>;
|
getDataURL(): Promise<string>;
|
||||||
|
|||||||
Reference in new issue
Block a user