fix(thumbnail): [PKG-TOOL-THUMB-04] supply public types and installed module entries

This commit is contained in:
Harvey Zhao committed 2026-09-13 05:16:36 +08:00
1 parent 15485b6420
commit 3bff236145
33 files changed
+2466 -164

No files matched your search

+8
View File
@@ -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