From: Jérôme Benoit Date: Mon, 2 Oct 2023 17:46:52 +0000 (+0200) Subject: docs: refine comment decorator X-Git-Tag: v2.7.5~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=34d8846f1e7e54273f3944f687336c5624a18f39;p=poolifier.git docs: refine comment decorator Signed-off-by: Jérôme Benoit --- diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index bfd1c13c..d5ce3a2f 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -90,7 +90,10 @@ export class ThreadWorker< this.port.postMessage({ ...message, workerId: this.id }) } - /** @inheritDoc */ + /** + * @inheritDoc + * @override + */ protected handleError (error: Error | string): string { return error as string }