mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 01:56:16 -08:00
refactor(jassub): [PKG-JASSUB-04] migrate owned TypeScript and preserve public types
This commit is contained in:
1 parent
38e7b37878
commit
5e445b1af6
33 files changed
+3636
-61
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import type Artplayer from 'artplayer'
|
||||
import type { RuntimeFactory, RuntimeResult } from '../../../packages/artplayer-plugin-jassub/types/runtime-api.js'
|
||||
import factory from '../../../packages/artplayer-plugin-jassub/src'
|
||||
|
||||
declare const art: Artplayer
|
||||
const registration: RuntimeResult = factory()(art)
|
||||
const publicFactory: RuntimeFactory = factory
|
||||
export { publicFactory, registration }
|
||||
Reference in new issue
Block a user