refactor(vast): [PKG-VAST-04] retain published types and add accurate runtime declarations

This commit is contained in:
Harvey Zhao committed 2026-09-14 23:07:52 +08:00
1 parent c162d2b3b3
commit e5c73fa620
34 files changed
+7819 -1495

No files matched your search

+11
View File
@@ -12,4 +12,15 @@ export default antfu({
rules: {
"eslint-comments/no-unlimited-disable": "off",
},
}, {
name: 'artplayer/frozen-vast-public-declaration',
files: ['packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts'],
// Keep actual npm 1.0.0 declaration bytes; strict consumers verify its contracts.
rules: {
'style/semi': 'off',
'style/indent': 'off',
'style/member-delimiter-style': 'off',
'ts/no-use-before-define': 'off',
'ts/consistent-type-definitions': 'off',
},
});