mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 04:36:15 -08:00
22 lines
426 B
TypeScript
22 lines
426 B
TypeScript
export type Chapters = {
|
|
start: number
|
|
end: number
|
|
title: string
|
|
}[]
|
|
|
|
export interface Option {
|
|
chapters?: Chapters
|
|
}
|
|
|
|
export interface Result {
|
|
name: 'artplayerPluginChapter'
|
|
update: (option: Option) => void
|
|
}
|
|
|
|
declare const artplayerPluginChapter: (option?: Option) => (art: Artplayer) => Result
|
|
|
|
export default artplayerPluginChapter
|
|
|
|
export = artplayerPluginChapter
|
|
export as namespace artplayerPluginChapter;
|