mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11: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
@@ -11,7 +11,7 @@ tool.once('file', function (file) {
|
||||
this.name = file.name
|
||||
}, { name: '' })
|
||||
tool.on('error', (message) => {
|
||||
const value: string | undefined = message
|
||||
const value: unknown = message
|
||||
void value
|
||||
})
|
||||
tool.on('custom', (...payload) => {
|
||||
@@ -19,6 +19,7 @@ tool.on('custom', (...payload) => {
|
||||
void values
|
||||
})
|
||||
tool.emit(Symbol('extension'), 'value')
|
||||
tool.on('custom-number', (value: number) => value.toFixed())
|
||||
const pending: Promise<void> = tool.start()
|
||||
const point: { time: number, x: number, y: number } | undefined = tool.creatScreenshotDate()[0]
|
||||
const canvas: HTMLCanvasElement = tool.creatCanvas()
|
||||
|
||||
Reference in new issue
Block a user