fix: add missing worker choice strategy options export
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Apr 2023 11:30:15 +0000 (13:30 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Apr 2023 11:30:15 +0000 (13:30 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/index.ts

index ebab64522029ddcdcac620fb510a22c409361b2a..7a246505c502e9256d0506e8420fc57d8acdeef9 100644 (file)
@@ -10,7 +10,10 @@ export type {
   OnlineHandler
 } from './pools/worker'
 export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
-export type { WorkerChoiceStrategy } from './pools/selection-strategies/selection-strategies-types'
+export type {
+  WorkerChoiceStrategy,
+  WorkerChoiceStrategyOptions
+} from './pools/selection-strategies/selection-strategies-types'
 export { DynamicThreadPool } from './pools/thread/dynamic'
 export { FixedThreadPool } from './pools/thread/fixed'
 export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'