mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 06:26:16 -08:00
refactor: update TypeScript definitions for Artplayer plugin; change export syntax and improve interface structure
This commit is contained in:
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}}
|
||||
Reference in new issue
Block a user