X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=3635d92c56006b0d0f6dbcf6f855fdfaf52865bf;hb=48237019f9629e7554d51b2ce613bd08f711c38f;hp=7f3cd950a992269fb7917b7eda296419a501b6f8;hpb=67f3f2d6cb8f915ec71f81c4533ab80a6c6a6f0f;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index 7f3cd950..3635d92c 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -42,8 +42,7 @@ export class ThreadWorker< taskFunctions: TaskFunction | TaskFunctions, opts: WorkerOptions = {} ) { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - super(isMainThread, parentPort!, taskFunctions, opts) + super(isMainThread, parentPort, taskFunctions, opts) } /** @inheritDoc */