build: make eslint configuration use strict type checking
[poolifier.git] / src / worker / thread-worker.ts
index 7f3cd950a992269fb7917b7eda296419a501b6f8..3635d92c56006b0d0f6dbcf6f855fdfaf52865bf 100644 (file)
@@ -42,8 +42,7 @@ export class ThreadWorker<
     taskFunctions: TaskFunction<Data, Response> | TaskFunctions<Data, Response>,
     opts: WorkerOptions = {}
   ) {
-    // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
-    super(isMainThread, parentPort!, taskFunctions, opts)
+    super(isMainThread, parentPort, taskFunctions, opts)
   }
 
   /** @inheritDoc */