Skip to content

Commit 53a5875

Browse files
committed
Merge branch 'pr-462'
2 parents 3472375 + 827b49d commit 53a5875

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Cluster.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import ConcurrencyImplementation, { WorkerInstance, ConcurrencyImplementationCla
1515

1616
const debug = util.debugGenerator('Cluster');
1717

18-
interface ClusterOptions {
18+
export interface ClusterOptions {
1919
concurrency: number | ConcurrencyImplementationClassType;
2020
maxConcurrency: number;
2121
workerCreationDelay: number;
@@ -34,7 +34,7 @@ type Partial<T> = {
3434
[P in keyof T]?: T[P];
3535
};
3636

37-
type ClusterOptionsArgument = Partial<ClusterOptions>;
37+
export type ClusterOptionsArgument = Partial<ClusterOptions>;
3838

3939
const DEFAULT_OPTIONS: ClusterOptions = {
4040
concurrency: 2, // CONTEXT

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
21
export { default as Cluster } from './Cluster';
2+
export { TaskFunction, ClusterOptions, ClusterOptionsArgument } from './Cluster'

0 commit comments

Comments
 (0)