mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
fix(thumbnail): [PKG-TOOL-THUMB-04] supply public types and installed module entries
This commit is contained in:
1 parent
15485b6420
commit
3bff236145
33 files changed
+2466
-164
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import type Definition from 'artplayer-tool-thumbnail'
|
||||
import Implementation from '../../packages/artplayer-tool-thumbnail/src'
|
||||
|
||||
const constructor: typeof Definition = Implementation
|
||||
const RuntimeConstructor: typeof Implementation = constructor
|
||||
const value: Definition = new RuntimeConstructor({ fileInput: document.createElement('input') })
|
||||
value.on('custom', (count: number) => count.toFixed())
|
||||
void value
|
||||
Reference in new issue
Block a user