mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
test(vtt-thumbnail): [PKG-VTT-THUMB-04] verify historical module forms and type conflicts
This commit is contained in:
1 parent
db358a3ae4
commit
0c5bb2bd7a
11 files changed
+961
-15
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import type { Factory } from 'artplayer-plugin-vtt-thumbnail'
|
||||
|
||||
declare const replacement: Factory
|
||||
const required: Factory & { default: Factory } = replacement
|
||||
const optional: Factory & { default?: Factory } = replacement
|
||||
optional.default({})
|
||||
void required
|
||||
Reference in new issue
Block a user