Switch eslint-plugin-node to supported eslint-plugin-n
[poolifier.git] / src / pools / thread / dynamic.ts
index a5b9eb7c37c49d945a23112ea9ee95832079ad58..7069f7f374907976702e944328f4e97663fd99c2 100644 (file)
@@ -24,7 +24,7 @@ export class DynamicThreadPool<
    * @param min Minimum number of threads which are always active.
    * @param max Maximum number of threads that can be created by this pool.
    * @param filePath Path to an implementation of a `ThreadWorker` file, which can be relative or absolute.
-   * @param [opts={}] Options for this dynamic thread pool.
+   * @param opts Options for this dynamic thread pool.
    */
   public constructor (
     min: number,
@@ -35,12 +35,12 @@ export class DynamicThreadPool<
     super(min, filePath, opts)
   }
 
-  /** @inheritdoc */
+  /** @inheritDoc */
   public get type (): PoolType {
     return PoolType.DYNAMIC
   }
 
-  /** @inheritdoc */
+  /** @inheritDoc */
   public get busy (): boolean {
     return this.workers.length === this.max
   }