@ -1,4 +1,4 @@
import type WorkerBaseController from "../controller/worker.controller";
import type { WorkerBaseController } from "../controller/worker.controller";
/**
* 事务的基类
@ -6,7 +6,7 @@ import { WorkerChannel } from '../worker.channel';
*
* @class WorkerBaseController
*/
export default class WorkerBaseController implements IWorkerController {
export class WorkerBaseController implements IWorkerController {
* 原生 worker, 在子类中实例化
@ -1,6 +1,6 @@
import { WorkerChannel } from "../worker.channel";
import type { IWorkerOptions } from "../worker.core";
import WorkerBaseController from "./worker.controller";
import { WorkerBaseController } from "./worker.controller";
export class WorkerMainThreadController extends WorkerBaseController {
@ -1,5 +1,5 @@
export class WorkerThreadController extends WorkerBaseController {
public constructor() {