refactor: update TypeScript definitions for Artplayer plugin; change export syntax and improve interface structure

This commit is contained in:
Harvey Zack committed 2025-08-17 18:28:43 +08:00
1 parent 50320bad5d
commit abbecff472
1 file changed
+4 -5
@@ -1,14 +1,13 @@
import type Artplayer from 'artplayer';
export = {{export}};
export as namespace {{export}};
type Option = {
interface Option {
//
};
type Result = {
interface Result {
name: '{{export}}';
};
declare const {{export}}: (option: Option) => (art: Artplayer) => Result;
export default {{export}}