mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
add danmuku d.ts
This commit is contained in:
1 parent
d6b36b49fa
commit
86d7b380d5
7 files changed
+191
-10
No files matched your search
+2
-1
@@ -375,7 +375,7 @@ type Option = {
|
||||
/**
|
||||
* Custom plugin list
|
||||
*/
|
||||
plugins?: PluginFunction[];
|
||||
plugins?: PluginFunction[] | (() => any);
|
||||
|
||||
/**
|
||||
* Custom mobile whitelist
|
||||
@@ -731,6 +731,7 @@ declare class Artplayer extends Player {
|
||||
readonly plugins: {
|
||||
readonly id: number;
|
||||
add(plugin: PluginFunction): Artplayer['plugins'];
|
||||
[pluginName: string]: any;
|
||||
};
|
||||
|
||||
readonly i18n: {
|
||||
|
||||
Reference in new issue
Block a user