mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 16:36:18 -08:00
feat(auto-thumbnail): [PKG-AUTO-THUMB-08] add compatible runtime type entry
This commit is contained in:
1 parent
7be628a983
commit
c4f5dcf17f
27 files changed
+2005
-40
No files matched your search
@@ -1,6 +1,8 @@
|
||||
import type Artplayer from 'artplayer'
|
||||
import type { Factory, Result } from '../../../packages/artplayer-plugin-auto-thumbnail/types/runtime-api'
|
||||
import factory from '../../../packages/artplayer-plugin-auto-thumbnail/src'
|
||||
|
||||
declare const art: Artplayer
|
||||
const registration: Promise<{ name: string }> = factory({ width: 80, number: 5 })(art)
|
||||
export { registration }
|
||||
const registration: Promise<Result> = factory({ width: 80, number: 5 })(art)
|
||||
const publicFactory: Factory = factory
|
||||
export { publicFactory, registration }
|
||||
Reference in new issue
Block a user