docs: refine code comments
[poolifier.git] / src / worker / task-functions.ts
index 8999b69decbe215d279ce09cce457e6b5bca633f..0b3083c3aed6ca892af39070734c1562648f69af 100644 (file)
@@ -62,7 +62,7 @@ export interface TaskFunctionObject<Data = unknown, Response = unknown> {
 /**
  * Tasks functions that can be executed.
  * The key is the name of the task function or task function object.
- * The value is the function or task function object.
+ * The value is the task function or task function object.
  *
  * @typeParam Data - Type of data sent to the worker. This can only be structured-cloneable data.
  * @typeParam Response - Type of execution response. This can only be structured-cloneable data.