From d480d708d7b0bf5dc1086b0469ad82ee413223f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 12 Apr 2023 00:50:09 +0200 Subject: [PATCH] docs: align type definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/pool.ts | 2 +- src/worker/worker-options.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 4395712f..6b957c37 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -61,7 +61,7 @@ export interface TasksQueueOptions { /** * Options for a poolifier pool. * - * @typeParam Worker - The worker type. + * @typeParam Worker - Type of worker. */ export interface PoolOptions { /** diff --git a/src/worker/worker-options.ts b/src/worker/worker-options.ts index 4e5a3d07..30da0a64 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -20,7 +20,7 @@ export type KillBehavior = keyof typeof KillBehaviors /** * Detects whether the given value is a kill behavior or not. * - * @typeParam KB - Which specific KillBehavior to test against. + * @typeParam KB - Which specific KillBehavior type to test against. * @param killBehavior - Which kind of kill behavior to detect. * @param value - Any value. * @returns `true` if `value` was strictly equals to `killBehavior`, otherwise `false`. -- 2.34.1