refactor: update export syntax to default for ASR and VAST plugins

This commit is contained in:
Harvey Zack committed 2025-08-03 18:47:09 +08:00
1 parent fa755b5f61
commit 6f3363014f
2 files changed
+5 -7

No files matched your search

@@ -1,8 +1,5 @@
import type Artplayer from 'artplayer'
export = artplayerPluginAsr
export as namespace artplayerPluginAsr;
interface AudioChunk {
pcm: ArrayBuffer
wav: ArrayBuffer
@@ -24,3 +21,5 @@ interface AsrPluginInstance {
}
declare function artplayerPluginAsr(option?: AsrPluginOption): (art: Artplayer) => AsrPluginInstance
export default artplayerPluginAsr