更新依赖,code lint
This commit is contained in:
@@ -9,7 +9,7 @@ const common = {
|
||||
|
||||
exposeWorker(Object.assign(common, list, lyric, music_url, music_other_source, download))
|
||||
|
||||
export declare type workerDBSeriveTypes = typeof common
|
||||
export type workerDBSeriveTypes = typeof common
|
||||
& typeof list
|
||||
& typeof lyric
|
||||
& typeof music_url
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Worker } from 'worker_threads'
|
||||
import * as Comlink from 'comlink'
|
||||
import nodeEndpoint from 'comlink/dist/esm/node-adapter'
|
||||
|
||||
export declare type DBSeriveTypes = Comlink.Remote<LX.WorkerDBSeriveListTypes>
|
||||
export type DBSeriveTypes = Comlink.Remote<LX.WorkerDBSeriveListTypes>
|
||||
|
||||
export const createDBServiceWorker = () => {
|
||||
const worker: Worker = new Worker(new URL(
|
||||
|
||||
Reference in New Issue
Block a user