refactor(core): CORE-08 type plugin registration and guard closed instances

This commit is contained in:
Harvey Zhao committed 2026-09-11 02:09:36 +08:00
1 parent f9707bad71
commit 874dac9f22
36 files changed
+2865 -142

No files matched your search

+6
View File
@@ -28,6 +28,9 @@
"default": "./dist/artplayer.js"
}
},
"./types": {
"types": "./types/artplayer.d.ts"
},
"./legacy": {
"import": {
"types": "./types/artplayer.d.cts",
@@ -54,6 +57,9 @@
"types": "./types/artplayer.d.ts",
"typesVersions": {
"*": {
"types": [
"types/artplayer.d.ts"
],
"i18n/*": [
"types/legacy/language.d.ts"
],