fix(types): PKG-CHAPTER-04 preserve CJS ESM and legacy consumer contracts

This commit is contained in:
Harvey Zhao committed 2026-09-10 23:29:06 +08:00
1 parent 48660c4e12
commit bab80ff886
41 files changed
+1087 -119

No files matched your search

+3 -3
View File
@@ -1,14 +1,14 @@
type Chapters = {
export type Chapters = {
start: number
end: number
title: string
}[]
interface Option {
export interface Option {
chapters?: Chapters
}
interface Result {
export interface Result {
name: 'artplayerPluginChapter'
update: (option: Option) => void
}