mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
refactor(vast): [PKG-VAST-04] retain published types and add accurate runtime declarations
This commit is contained in:
1 parent
c162d2b3b3
commit
e5c73fa620
34 files changed
+7819
-1495
No files matched your search
@@ -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',
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user