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

@@ -75,7 +75,7 @@ function createJob(tool: ArtplayerToolThumbnail, state: LifecycleState) {
}
if (report) {
try {
tool.emit('error', (error as { message?: string } | null | undefined)?.message)
tool.emit('error', (error as { message?: unknown } | null | undefined)?.message)
}
catch (listenerError) {
error = listenerError
@@ -94,7 +94,7 @@ function createJob(tool: ArtplayerToolThumbnail, state: LifecycleState) {
catch (error) {
let failure = error
try {
tool.emit('error', (error as { message?: string } | null | undefined)?.message)
tool.emit('error', (error as { message?: unknown } | null | undefined)?.message)
}
catch (listenerError) {
failure = listenerError