Browse Source

refactor: 修改下export

es6
iapyang 2 years ago
parent
commit
4597695a6e
  1. 2
      typescript/core/worker/action/worker.action.ts
  2. 2
      typescript/core/worker/controller/worker.controller.ts
  3. 2
      typescript/core/worker/controller/worker.main_thread.controller.ts
  4. 2
      typescript/core/worker/controller/worker.worker_thread.controller.ts

2
typescript/core/worker/action/worker.action.ts

@ -1,4 +1,4 @@
import type WorkerBaseController from "../controller/worker.controller";
import type { WorkerBaseController } from "../controller/worker.controller";
/**
*

2
typescript/core/worker/controller/worker.controller.ts

@ -6,7 +6,7 @@ import { WorkerChannel } from '../worker.channel';
*
* @class WorkerBaseController
*/
export default class WorkerBaseController implements IWorkerController {
export class WorkerBaseController implements IWorkerController {
/**
* worker,
*/

2
typescript/core/worker/controller/worker.main_thread.controller.ts

@ -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 {
/**

2
typescript/core/worker/controller/worker.worker_thread.controller.ts

@ -1,5 +1,5 @@
import { WorkerChannel } from "../worker.channel";
import WorkerBaseController from "./worker.controller";
import { WorkerBaseController } from "./worker.controller";
export class WorkerThreadController extends WorkerBaseController {
public constructor() {

Loading…
Cancel
Save