mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
refactor: update export syntax to default for multiple plugins and adjust package.json formatting
This commit is contained in:
1 parent
f3c0a9a77d
commit
9d966bf696
22 files changed
+102
-116
No files matched your search
@@ -2,9 +2,6 @@ import type SubtitlesOctopus from '@hrgui/libass-wasm-ts'
|
||||
import type Artplayer from 'artplayer'
|
||||
import type { Options } from 'libass-wasm'
|
||||
|
||||
export = artplayerPluginAss
|
||||
export as namespace artplayerPluginAss;
|
||||
|
||||
declare const artplayerPluginAss: (options: Options) => (art: Artplayer) => {
|
||||
name: 'artplayerPluginLibass'
|
||||
libass: SubtitlesOctopus
|
||||
@@ -15,3 +12,5 @@ declare const artplayerPluginAss: (options: Options) => (art: Artplayer) => {
|
||||
hide: () => void
|
||||
destroy: () => void
|
||||
}
|
||||
|
||||
export default artplayerPluginAss
|
||||
Reference in new issue
Block a user