chore: Update Artplayer option type imports and usage

This commit is contained in:
Harvey Zack committed 2024-05-27 18:30:06 +08:00
1 parent ab109a1acd
commit 8366b0673a
4 files changed
+20 -10

No files matched your search

+13
View File
@@ -16,6 +16,19 @@ export as namespace Artplayer;
declare class Artplayer extends Player {
constructor(option: Option, readyCallback?: (this: Artplayer, art: Artplayer) => unknown);
get Config(): Config;
get Events(): Events;
get Utils(): Utils;
get Player(): Player;
get Option(): Option;
get Subtitle(): Subtitle;
get Icons(): Icons;
get Template(): Template;
get I18n(): I18n;
get Setting(): Setting;
get SettingOption(): SettingOption;
get Component(): Component;
static readonly instances: Artplayer[];
static readonly version: string;
static readonly env: string;