From ee6c0f814af70d315f8485f0189407b92d31294d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 15 Oct 2022 07:35:08 +0200 Subject: [PATCH] Silence typedoc warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/cluster/dynamic.ts | 2 +- src/pools/cluster/fixed.ts | 2 +- src/pools/thread/dynamic.ts | 2 +- src/pools/thread/fixed.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index ebff6bfe..f18f375c 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -23,7 +23,7 @@ export class DynamicClusterPool< * @param min Minimum number of workers which are always active. * @param max Maximum number of workers that can be created by this pool. * @param filePath Path to an implementation of a `ClusterWorker` file, which can be relative or absolute. - * @param [opts={}] Options for this dynamic cluster pool. + * @param opts Options for this dynamic cluster pool. */ public constructor ( min: number, diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index 09c5e369..7ad425a3 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -39,7 +39,7 @@ export class FixedClusterPool< * * @param numberOfWorkers Number of workers for this pool. * @param filePath Path to an implementation of a `ClusterWorker` file, which can be relative or absolute. - * @param [opts={}] Options for this fixed cluster pool. + * @param opts Options for this fixed cluster pool. */ public constructor ( numberOfWorkers: number, diff --git a/src/pools/thread/dynamic.ts b/src/pools/thread/dynamic.ts index 929287c8..7069f7f3 100644 --- a/src/pools/thread/dynamic.ts +++ b/src/pools/thread/dynamic.ts @@ -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, diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index 3212678f..5b06ca49 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -30,7 +30,7 @@ export class FixedThreadPool< * * @param numberOfThreads Number of threads for this pool. * @param filePath Path to an implementation of a `ThreadWorker` file, which can be relative or absolute. - * @param [opts={}] Options for this fixed thread pool. + * @param opts Options for this fixed thread pool. */ public constructor ( numberOfThreads: number, -- 2.34.1