docs: silence typedoc warnings
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 7 Jun 2023 19:13:10 +0000 (21:13 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 7 Jun 2023 19:13:10 +0000 (21:13 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/index.ts
src/worker/abstract-worker.ts

index 34989c1f1cec424af6ef55926358d4a898dfa965..0d9491572fa292dc3381aefaea3a6730dcee5b66 100644 (file)
@@ -39,7 +39,7 @@ export {
   type ThreadPoolOptions,
   type ThreadWorkerWithMessageChannel
 } from './pools/thread/fixed'
-export type { AbstractWorker } from './worker/abstract-worker'
+export type { AbstractWorker, TaskPerformance } from './worker/abstract-worker'
 export { ClusterWorker } from './worker/cluster-worker'
 export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
@@ -53,7 +53,8 @@ export type {
 export type {
   Draft,
   MessageValue,
-  PromiseResponseWrapper
+  PromiseResponseWrapper,
+  WorkerStatistics
 } from './utility-types'
 export type { CircularArray } from './circular-array'
 export type { Queue } from './queue'
index d37c21571402e1d224c3c76a90acb0af595f21ef..b7c542aa469f40bf4feb50aa99599b52bb7bc44e 100644 (file)
@@ -23,7 +23,7 @@ const DEFAULT_KILL_BEHAVIOR: KillBehavior = KillBehaviors.SOFT
 /**
  * Task performance.
  */
-interface TaskPerformance {
+export interface TaskPerformance {
   timestamp: number
   waitTime?: number
   runTime?: number