refactor: update export syntax to default for multiple plugins and adjust package.json formatting

This commit is contained in:
Harvey Zack committed 2025-08-03 17:19:12 +08:00
1 parent f3c0a9a77d
commit 9d966bf696
22 files changed
+102 -116

No files matched your search

@@ -1,8 +1,5 @@
import type Artplayer from 'artplayer'
export = artplayerPluginDanmuku
export as namespace artplayerPluginDanmuku;
type Mode = 0 | 1 | 2
type Danmuku = Danmu[] | string | (() => Promise<Danmu[]>) | Promise<Danmu[]>
@@ -253,3 +250,5 @@ interface Result {
}
declare const artplayerPluginDanmuku: (option: Option) => (art: Artplayer) => Result
export default artplayerPluginDanmuku