mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
chore: Update Artplayer option type imports and usage
This commit is contained in:
1 parent
ab109a1acd
commit
8366b0673a
4 files changed
+20
-10
No files matched your search
+1
-2
@@ -1,7 +1,6 @@
|
||||
import Artplayer from '../packages/artplayer';
|
||||
import { type Option } from '../packages/artplayer/types/option';
|
||||
|
||||
const option: Option = {
|
||||
const option: Artplayer['Option'] = {
|
||||
container: '.artplayer-app',
|
||||
url: './assets/sample/video.mp4',
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user