build: make eslint configuration use strict type checking
[poolifier.git] / src / pools / thread / dynamic.ts
index 836cae0b0615e1f74733e09f9f21b450bf15506b..fde371048c5755c77736c6a25545fe19aa90df8d 100644 (file)
@@ -34,8 +34,7 @@ export class DynamicThreadPool<
     super(min, filePath, opts, max)
     checkDynamicPoolSize(
       this.minimumNumberOfWorkers,
-      // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
-      this.maximumNumberOfWorkers!
+      this.maximumNumberOfWorkers
     )
   }