更新依赖,code lint

This commit is contained in:
lyswhut
2023-05-19 22:01:18 +08:00
parent bd5107bbaf
commit fe94a1eac9
74 changed files with 1537 additions and 1210 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ console.log('hello download worker')
exposeWorker(Object.assign({}, common, download))
export declare type workerDownloadTypes = typeof common &
export type workerDownloadTypes = typeof common &
typeof download
+1 -1
View File
@@ -10,6 +10,6 @@ console.log('hello main worker')
exposeWorker(Object.assign({}, common, list, music))
export declare type workerMainTypes = typeof common
export type workerMainTypes = typeof common
& typeof list
& typeof music
+2 -2
View File
@@ -1,6 +1,6 @@
import * as Comlink from 'comlink'
export declare type MainTypes = Comlink.Remote<LX.WorkerMainTypes>
export type MainTypes = Comlink.Remote<LX.WorkerMainTypes>
export const createMainWorker = () => {
const worker: Worker = new Worker(new URL(
@@ -20,7 +20,7 @@ export const createMainWorker = () => {
// // })
// }
export declare type DownloadTypes = Comlink.Remote<LX.WorkerDownloadTypes>
export type DownloadTypes = Comlink.Remote<LX.WorkerDownloadTypes>
export const createDownloadWorker = () => {
const worker: Worker = new Worker(new URL(
/* webpackChunkName: 'renderer.download.worker' */