chore: 删除不再使用的 TypeScript 声明文件,并添加新的插件声明文件

This commit is contained in:
Harvey Zack committed 2024-11-30 10:35:41 +08:00
1 parent 57d6f25e5b
commit 3a052a60e3
15 files changed
+315 -132

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import type Artplayer from 'artplayer';
export = artplayerPluginAutoThumbnail;
export as namespace artplayerPluginAutoThumbnail;
type Option = {
url?: string;
width?: number;
height?: number;
scale?: number;
};
type Result = {
name: 'artplayerPluginAutoThumbnail';
};
declare const artplayerPluginAutoThumbnail: (option: Option) => (art: Artplayer) => Result;