X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;fp=src%2Fworker%2Fthread-worker.ts;h=3635d92c56006b0d0f6dbcf6f855fdfaf52865bf;hb=c63a35a04c190989be80f9218d97e0aca739475e;hp=7f3cd950a992269fb7917b7eda296419a501b6f8;hpb=8166b5b31ebb2d15bbdc112f1a86d3774fe21294;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 */