mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
refactor: update export syntax to default for ASR and VAST plugins
This commit is contained in:
1 parent
6f3363014f
commit
8a87de6df3
2 files changed
+5
-7
No files matched your search
+2
-3
@@ -1,6 +1,3 @@
|
||||
export = artplayerPluginAsr
|
||||
export as namespace artplayerPluginAsr;
|
||||
|
||||
interface AudioChunk {
|
||||
pcm: ArrayBuffer
|
||||
wav: ArrayBuffer
|
||||
@@ -23,5 +20,7 @@ interface AsrPluginInstance {
|
||||
|
||||
declare function artplayerPluginAsr(option?: AsrPluginOption): (art: Artplayer) => AsrPluginInstance
|
||||
|
||||
export default artplayerPluginAsr
|
||||
|
||||
export = artplayerPluginAsr;
|
||||
export as namespace artplayerPluginAsr;
|
||||
Reference in new issue
Block a user