From 8125b6a219fc4c76bf6e115f6765435fa8506767 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 9 Apr 2023 13:30:15 +0200 Subject: [PATCH] fix: add missing worker choice strategy options export MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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' -- 2.34.1