mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
chore: Update mount parameter type in Danmuku and Setting classes
This commit is contained in:
1 parent
f4396308fe
commit
ab109a1acd
2 files changed
+9
-9
No files matched your search
@@ -129,12 +129,12 @@ type Option = {
|
||||
/**
|
||||
* 弹幕发送前的过滤器,支持返回 Promise
|
||||
*/
|
||||
beforeEmit?: (danmu: Danmu) => boolean | (() => Promise<boolean>);
|
||||
beforeEmit?: (danmu: Danmu) => boolean | Promise<boolean>;
|
||||
|
||||
/**
|
||||
* 弹幕显示前的过滤器,支持返回 Promise
|
||||
*/
|
||||
beforeVisible?: (danmu: Danmu) => boolean | (() => Promise<boolean>);
|
||||
beforeVisible?: (danmu: Danmu) => boolean | Promise<boolean>;
|
||||
|
||||
/**
|
||||
* 弹幕是否可见
|
||||
|
||||
Reference in new issue
Block a user