mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
chore: [ENG-LINT-02] restore clean repository lint
This commit is contained in:
1 parent
d2f4261aa7
commit
7cf6f33130
9 files changed
+130
-13
No files matched your search
@@ -69,7 +69,7 @@ export function asGlobalDeclaration(code: string, globalName: string) {
|
||||
factory.createNamespaceExportDeclaration(factory.createIdentifier(globalName)),
|
||||
]
|
||||
const printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed })
|
||||
return `// Generated from packages/artplayer/public/artplayer.ts by yarn build:ts. Do not edit.\n/* eslint-disable ts/no-redeclare, ts/no-namespace -- UMD constructor and named types share the global export. */\n${printer.printFile(factory.updateSourceFile(source, statements))}`
|
||||
return `// Generated from packages/artplayer/public/artplayer.ts by yarn build:ts. Do not edit.\n/* eslint-disable ts/no-redeclare -- UMD constructor and named types share the global export. */\n${printer.printFile(factory.updateSourceFile(source, statements))}`
|
||||
}
|
||||
|
||||
export function generateCoreEditorDeclaration() {
|
||||
|
||||
Reference in new issue
Block a user