docs: refine comment decorator
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 2 Oct 2023 17:46:52 +0000 (19:46 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 2 Oct 2023 17:46:52 +0000 (19:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/worker/thread-worker.ts

index bfd1c13cdb41775c0c01d031cb0aedf9d364959b..d5ce3a2f130da3efbe81f0aa0e3b3e7394033822 100644 (file)
@@ -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
   }