Skip to content

Commit

Permalink
Add type for WorkerFarm.end() (#6690)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid authored Aug 6, 2021
1 parent f16a04f commit 4df85e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/workers/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export type FarmOptions = {

declare class WorkerFarm {
constructor(options: FarmOptions);

end(): Promise<void>;
}

export default WorkerFarm;

0 comments on commit 4df85e3

Please sign in to comment.