From: Jérôme Benoit Date: Sun, 9 Apr 2023 11:30:15 +0000 (+0200) Subject: fix: add missing worker choice strategy options export X-Git-Tag: v2.4.5~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8125b6a219fc4c76bf6e115f6765435fa8506767;p=poolifier.git fix: add missing worker choice strategy options export Signed-off-by: Jérôme Benoit --- diff --git a/src/index.ts b/src/index.ts index ebab6452..7a246505 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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'