mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31: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
@@ -1,8 +1,5 @@
|
||||
import type Artplayer from 'artplayer'
|
||||
|
||||
export = artplayerPluginAds
|
||||
export as namespace artplayerPluginAds;
|
||||
|
||||
interface Option {
|
||||
/**
|
||||
* 广告源文本,支持视频链接、图片链接、HTML文本
|
||||
@@ -50,3 +47,5 @@ interface Ads {
|
||||
}
|
||||
|
||||
declare const artplayerPluginAds: (option: Option) => (art: Artplayer) => Ads
|
||||
|
||||
export default artplayerPluginAds
|
||||
Reference in new issue
Block a user